home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 24
/
CD_ASCQ_24_0995.iso
/
vrac
/
homonlib.zip
/
DROP.BAS
< prev
next >
Wrap
BASIC Source File
|
1995-04-13
|
763b
|
23 lines
DEFINT A-Z
DECLARE SUB Drop (text$, row, col)
SUB Drop (text$, row, col)
'****************************************************************************
'Prints text vertically on the screen, dropping from the specified row and
' column position. If the length of the text would continue past row 24,
' printing will stop at that point. See also: SUB Rise()
'****************************************************************************
r = row 'We will need to alter the row value.
FOR x = 1 TO LEN(text$)
LOCATE r, col
PRINT MID$(text$, x, 1);
r = r + 1
IF r = 25 THEN EXIT FOR 'Quit if we reach the bottom of the
NEXT x 'screen.
END SUB