E> L1=%00111100 L2=%01111110 L3=%01011010 L4=%11100111 L5=%10111101 L6=%01011010 L7=%00100100 L8=%00011000 Set Curs L1 L2 , L3 L4 L5, L6 , L7, L8
Your routine will appear slightly different from that, because the system automatically strips away any leading zeros in binary listings.
CURS ON/OFF
instructions: toggle text cursor
Curs On
Curs Off
This pair of commands is use to hide and reveal the text cursor in the current window. It has no effect at all on any cursors used in other windows.
Advanced text commands
ZONE$
function: create a zone around text
z$=ZONE$(text$,zone number)
The AMOS Professional programmer is allowed to create powerful dialogue boxes and on- screen control panels without the need to employ complex programming. The ZONES function surrounds a section of text with its own screen zone, so that the presence of the mouse pointer can be detected using the ZONE function. Simply supply the two parameters in brackets, which are the string of text for one of your control "buttons", followed by the number of the screen zone to be defined.
The maximum number of zones will be limited by the value specified in a previous RESERVE ZONE command. The format for the control string is as follows:
Chr$(27)+"ZO"+A$+Chr$(27)+"R"+Chr$(48+n)
BORDER$
function: create a border around text
b$=Border$(text$, border number)
This works in much the same way as ZONES, by returning a string of characters that create a border around the required string of text. The AMOS Professional programmer can use it with ZONES to set up special "buttons" for alert windows and control consoles.