EasyManua.ls Logo

ACT apricot - Page 254

ACT apricot
328 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SCREEN DRIVER
SM
:
Set
Mode
Functions
MNEMONIC
PARAMETER
CODE
LNM
DECOM
DECAWM
20
6
7
RM
: Reset
Modes
h
h
h
MNEMONIC
PARAMETER
CODE
LNM
DECOM
DECAWM
20
6
7
1
1
1
FUNCTION
Auto
CR
(on
reciept
of
LF)
Origin
Mode
ON
(see
note below)
Auto-wrap
at
end
of
line
FUNCTION
No
Auto
CR
(on
reciept
of
LF)
Origin
Mode
OFF
(see note below)
No
Auto-wrap
at
end
of
line
TAC
: Text
Attribute
Change
MNEMONIC
PARAMETER
CODE
FUNCTION
*
SGR
0
m All
attributes
off
*
SGR
1
m Bold
ON
*
SGR
4
m Underline
ON
*
SGR
7
m Reverse video
ON
SCR
: Screen size/mode
modification
MNEMONIC
PARAMETER
CODE
DSR
6
*
DECSTBM
T;B
SCP
RCP
n
r
s
u
FUNCTION
Device
Status
Report - Generates
CPR
Set
T (top) and B (bottom)
lines
Save
cursor
position
Restore
cursor
position
* =
Code
is
not supported
on
the
IBM
PC
Programming
Example
The
following program produces
some
text
on
the
Apricot
Screen,
using
the
ANSI escape codes:
10
an$=chr$(27)+"["
'an$
is
now
the
ANSI
lead-in
string
20
print
an$
"2J" ,
clear
the
SCFeen
30
print
an$
"IO;15H
Now
at
line
10, column
15
!!"
,
write
message
40
print
an$
"5A
Now
at
line
5, column 1
!!"
, another
50
print
an$
"IO;14r Screen
is
now
5
lines
high!
!";
'set
screen
size
60
end

Table of Contents

Other manuals for ACT apricot