Star Micronics LS-5 TT Printer User Manual


 
9.4.3 TrueImage Operators
Stack operators
Operator
clear
cleartomark
copy
count
counttomark
dup
exch
index
mark
pop
roll
Maths operators
Operator
abs
add
atan
ceiling
Cos
div
exp
floor
idiv
in
log
mod
mul
neg
rand
round
rrand
sin
sqrt
srand
sub
truncate
Function
Discard all elements
Discard elements down through mark
Duplicate top n elements
Count elements on stack
Count elements down to
mark
Duplicate top element
Exchange top two elements
Duplicate arbitrary element
Push mark on stack
Discard top element
Roll n elements up,j times
Function
Absolute value of numt
num I plus num2
Arctangent of num~lnum~ in degrees
Ceilin,gof
m4mI
Cosine of angle (degrees)
numI divided by
numz
Raise num to e.xpmlent power
Floor of
nL4mI
Integer divide
Natural logarithm (base e)
Logarithm (base 10)
int] mod irzt~
num
I times nurm
Negative of tlLl})l,
Generate pseudo-random integer
Round nwnI to nearest integer
Return random number seed
Sine of dngle (degrees)
Square root of Hun?
Set random number seed
nun7I minus num2
Remove fractional part of HLmZI
121