arrchr

Stores string to parameters.

Syntax

(arrchr,param,str)

Parameters

param Parameter number where string is stored.
Parameter with number 'param' contains string length.
Parameter with number 'param+1' contains first character.
Parameter with number 'param+2' contains second character.
str String to be stored to parameters.

Examples

(arrchr,400,ABCDEFGH)
(print,400 = #400)
(print,401 = #401)
(print,402 = #402)
(print,403 = #403)
(print,404 = #404)
(print,405 = #405)
(print,406 = #406)
(print,407 = #407)
(print,408 = #408)

Output:

400 = 8
401 = 65
402 = 66
403 = 67
404 = 68
405 = 69
406 = 70
407 = 71
408 = 72

(arrchr,3000,PlanetCNC Rocks!)
G17 G21 G90 G91.1 G94
G06.1
G06.2 H2 P3000 Q20 D1 Y5 ;Text from 3000, integrated font
G06 X10

See also

array, arrclr