322
Jetter AG
10 Programming
STX Instructions for displaying texts
Function
DisplayText(Dev:Int,
Pos:Int,
Const Ref
Text:String);
Parameter
Value
Description
Dev
0 ... 4
Number of the device on which the
text is to be output
Pos
1 ... Possible number of
characters on the screen
Cursor position starting from which
the text is to be displayed.
Text
Text to be displayed
Constant text, or name of a string
variable
How to invoke the instruction to display a text:
DisplayText(
0
,
1
,
'_Hello World!'
);
DisplayText(
0
,
25
, StringVar);
The first STX instruction deletes the entire content of the screen ('_' in text).
Then, this instruction causes the text 'Hello World!' to be displayed starting at
cursor position1. The second STX instruction causes the content of the string
variable
StringVar
to be displayed starting at cursor position 25. Both texts
are displayed on the default device (Dev = 0).
Function
DisplayText2(Dev:Int,
Pos:Int,
Const Ref
Text1:String,
Const Ref
Text2:String);
Parameter
Value
Description
Dev
0 ... 4
Number of the device on which the
text is to be output
Pos
1 ... Number of characters on
the screen
Cursor position starting from which
the text is to be displayed.
Text1
Text to be displayed
Constant text, or name of a string
variable
Text2
Text to be displayed
Constant text, or name of a string
variable
Function declaration
Function parameters
How to use this
instruction
How it works
Function declaration
Function parameters
Содержание JC-120MC
Страница 1: ...User Manual JC 120MC Controller 60880901 We automate your success...
Страница 18: ......
Страница 40: ...40 Jetter AG 3 Identifying Hardware revisions see page 38 Related topics...
Страница 160: ......
Страница 186: ......
Страница 196: ......
Страница 395: ...Jetter AG 395 JC 120MC Programming Result When initializing the JX2 system bus the adjusted baud rate values were used...
Страница 485: ...Jetter AG 485 JC 120MC Programming Topic Page Programming 486 Registers 498 Contents...
Страница 521: ...Jetter AG 521 JC 120MC Programming Use 29 bit identifier Default 11 bit identifier...
Страница 586: ......
Страница 604: ......
Страница 633: ......