LOCATE |
[Features] The position of a
cursor is specified.
[Format] LOCATE [x] [,y]
[Explanation]
Mode
'order(x,y) upper left(0,0)'
Mode
'order(y,x) upper left(1,1)'
The two
modes can be selected by setting.
[e.g.]
COLOR |
[Features] To specify a text
TextColorcode.
[Format] COLOR
[TextColorcode][,GraphicColorcode][,BackColorcode]
[Explanation]
To
specify TextColorcode.
TextColorcode is a
color used Text('print').
GraphicColorcode is a color used when color is omitted by graphic drawing
statement.
BackColorcode is a color
which becomes a ground in the very back.
Color code
range:(-2147483648~2147483647)
[e.g.]
color rgb(255,0,0) :'red
color col(15) :'white
CLS |
[Features] To clear the
screen.
[Format] CLS [n]
[Explanation]
n=1 Text area. (Default)
n=2 Graphics area.
n=3 Text & Graphics area.
n=4 Graphic buffer.
[e.g.]
CONSOLE |
[Features] To specify a text
editarea per character coordinates.
[Format] CONSOLE Y,Height[,X,Width]
[Explanation]
Start point(x,y) and specify
Width,Height.
This value is saved
as a separate setting
value for 'key display state' and 'full screen state' of the
screen.
[e.g.]
console 0,14 :'Coordinates Y0-13 is specified。
INPUT |
[Features] The data inputted
from the keyboard is substituted for a variable.
[Format] INPUT ["message"|,or;|]variable[,variable]...
[Explanation]
If 'input' is performed, a program will
be in the state waiting for an input from a keyboard.
The inputted data is substituted for the
variable identifier.
Data type is a
character string or a number.
Comma',' is used for a pause.
If
"message" is specified, "message" is displayed other than "?",too.
Note:There is something by which
'input' command doesn't move normally by part of low-cost smart
phone.
In this case, select 'correction' by setting. (no
load mode)
There are restrictions for this
mode.
It can't use in user function.('ui_input' be
executed automatically)
It cann't write two 'input'
statements in one line by i-mode.
[e.g.]
LINE INPUT |
[Features] The data inputted
from the keyboard is substituted for a variable.
[Format] LINE INPUT
["message"|,or;|] character-variable
[Explanation]
The
same as "input", it goes to input mode.
But, what is treated is only a character
variable.
A punctuation mark',' is
also recognized to be continuation of a character.
And "?" is not displayed.
In User function of 'correction'
mode, it is an error.
Please use 'input'
statement.
[e.g.]
POS |
[Features] To return the current
cursor X position.
[Format] POS(0)
[Explanation]
(0)
is a dummy argument.
[e.g.]
CSRLIN |
[Features] To return the current
cursor Y position.
[Format]
[Explanation]
[e.g.]
y=csrlin
INKEY$ |
[Features] To return one
character inputted from the keyboard.
[Format] INKEY$
[Explanation]
When nothing is pushed, it is returned nullstring.
[e.g.]
a$=inkey$
INPUT$ |
[Features] To return string of n
characters inputted from the keyboard.
[Format] INPUT$(n)
[Explanation]
It
waits for this until a key is pressed.
There is a switch of 'correction' mode
like as 'input' statement. (no load mode)
By the model
which 'input$' movement is slow, please change to 'correction'
mode.
There are restrictions for 'correction'
mode.
In the inside of user function, it become same
behavior as normal mode.
It cann't write two 'input$'
function in one line by i-mode.
In 'input$' exists line,
it cann't write multiple commands by i-mode.
[e.g.]
a$=input$(1)
SCRN$ |
[Features] To
return reading character string from text screen.
[Format] SCRN$(x,y,length)
[Explanation]
To return the character string of the
specified length that is read from text screen (x,y).
[e.g.]
FONT |
[Features] Text font size is
changed.
[Format] FONT [size]
[,printer]
[Explanation]
size: Display text font size is
changed.
size can be chosen from
[8,12,16,24,32,40,48,64,80].(pixel)
printer: It is the size of characters when printing with 'LLIST'.
Number is from 1 to 7. 7 is max.
Default is 2.(not pixel)
[e.g.]
font
16
PRINT USING |
[Features] Data(numeric and
string) is outputted to the screen according to "Format-control-string".
[Format] PRINT USING
"Format-control-string"; data[| , or ; |data]...
[Explanation]
Data can also be specified by variable.
Numeric data to numeric-controls, string
data to string-controls,
there
must be matched up as order of control-string.
When specify plural data, control-string
is used repeatedly.
Mark',' or ';' is
used for the punctuation of data.(result is same)
When the sentence end is ';', line feed
code isn't outputted.
The Format-control-string is as
follows.
*String controls
[!] To output only first one
character of the string.
[&]
To output whole of the string. [Yen-Style:'@']
[\] To output only characters of
the number of characters
in enclosed '\
\'.(include two '\') [Yen-Style:'& &']
When string data is
shorter, as for remainder, space is output.
*Numeric controls
[#] The digit number which display
numerical value
is specified by
the number of '#'.
If the digit of data is shorter than the field,
it is displayed
in right justify.
[.] The
position of decimal point is specified. (period)
'#' on the right of
here,
It
becomes digit number of the decimal to display.
The decimal non-display
portion is rounded off.
[+] When
attached to the beginning or end of the control-string,
a numerical sign
is displayed on each position.
[-] When attached to the last of control-string,
Sign is displayed
back. Plus>' ' Front sign will be turned off.
[,] When it places into the
sequence of integer part'#',
integer part is
displayed in 3digit form split by ','. (comma)
[**] When it put in top of
Numerical-control,
will be
output extra space is filled with '*'.
It reserve for 2
digits area.
[$$] When it put in
top of Numerical-control,
will be
output in the form attached '$' at the head.
It reserve for 2
digits area, 1 character is used for '$'.
[Yen-Style:'\\']
[**$] When it put in
top of Numerical-control,
will be
output by the function of both '**' and '$$'.
It reserve for 3
digits area, 1 character is used for '$'.
[Yen-Style:'**\']
[^^^^] When attached
after '#' of digit number specification,
Numerical
value is output in exponential format.(00E+00)
In
exponential format,
1
character-'#' of the integer part is monopolized for sign.
The character except control-string is
output in unchanged form.
When output
control-string in itself as a character,
describe to attach '_' before the
character.
When numerical digit number
is larger than specified numeric range,
will be output with "%" at the
beginning.
Type of
'Format-control-string' can be selected from the Settings.
[$DollarStyle] or [¥YenStyle]
There are differences in the use of
characters[$\&@].
[e.g.]
print using "####.##"; 12
12.00
print using "###.##"; 123456
%123456.00
print using "& ####.##";
"abc",-123.456
abc -123.46
print using "Initial=! ";
"abc","def","ghi"
Initial=a Initial=d
Initial=g
print using "\ \
_#_\"; "abcdefg"
abcd #\
print using "$$##,###-"; -12345
$12,345-
print using "###.##^^^^"; 1.234
12.34E-01
print using "**###.##"; 12.345
***12.34
print using "[& is +**$##] ";
"ab",-123,"cd",45.67,"ef",2468
[ab is
*$-123] [cd is **$+45] [ef is $+2468]