IBM 5110 User Manual page 109

Apl
Table of Contents

Advertisement

104
Insert Blank Lines into a Character Matrix:
VBL.ANI( I... I NEB
£: [] J
'V
V
Z~X
BLANKI...INES M
[1]
Z~«(ltpM)+l(ltpM)+X)p(Xpl),O)'M
'iJ
DON
DAN
SUE
• .1
I t1
TOM
K It1
DON
DAN
sur:::
JIM
TOM
KIM
NAMEB~6
4p'DON DAN SUE JIM TOM KIM'
NAMES
- - - - - - - - - - - T h e left argument determines how
/
often the blank lines are inserted.
2 BLANK LINES NAMES
Print a Matrix Using a Shared Variable:
VPRINT[[]JV
'iJ
PRINT X;Z;P
[lJ
CR~DAV[[]IO+156]
1:2]
p~"'
PRT'
[3J
Z~l
DSVO
'P'
[4]
P~-l'/(TX)/CR
SUE
JAN
DAVE
SUE
.JAN
DAVE
V
NAMES~3
4p'SUE JAN DAVE'
NAMES
PRINT NAMES

Advertisement

Table of Contents
loading

Table of Contents