120
ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual
Chapter —Commands
X – Draw Box
Description
This command is used to draw a box shape.
Syntax
Xp
1
,p
2
,p
3
,p
4
,p
5
Parameters
p
1
Horizontal start position (X) in dots.
p
2
Vertical start position (Y) in dots.
p
3
Line thickness in dots.
p
4
Horizontal end position (X) in dots.
p
5
Vertical end position (X) in dots.
Example
N
↵
:Clears image buffer
X50,200,5,400,20
↵
:Prints box A
X200,50,10,20,400
↵
:Prints box B
P1
↵
:Prints a label
Box B
Box A