![]() |
| TI99 Environment |
| Syntax |
| CALL_VCHAR(row,column,ascii-code,repetition) |
| Description |
|
The VCHAR function displays a character anywhere on the display screen and optionally repeats it vertically. The character with the ASCII value of ascii-code is placed in the position described by row and column and is repeated vertically repetition times. A value of 1 for row indicates the top of the screen. A value of 24 is the bottom of the screen. A value of 1 for column indicates the left side of the screen. A value of 32 is the right side of the screen. Although the screen size is 24x32 (768 total characters), the repetition parameter allows as many as 32767 characters. The excess characters wrap around the screen and overlap previously displayed characters while also taking longer to complete the rendering process. |
| Example Code |
` Marquee-Adapted from TI-99 Ref Guide
randomize timer()
for s = 2 to numberofcolors `numberofcolors is a TI99E constant (value is 16)
call_color(s,s,s)
next s
call_hchar(7,3,64,28)
call_hchar(16,3,64,28)
CALL_VCHAR(7,2,64,10)
CALL_VCHAR(7,31,64,10)
do
for a = 3 to 30
c = int(rnd(119) + 40)
CALL_VCHAR(8,a,c,4) : tiwait(5)
next a
for a = 30 to 3 step -1
c = int(rnd(119) + 40)
CALL_VCHAR(12,a,c,4) : tiwait(5)
next a
loop
| Go back to ... |
| TI99E Commands Menu |
| Main Menu |
Copyright © Carlos Santiago Lebron - TI99 Environment 2020
![]() |