Syntax Error scr_ command
Posted: Thu Jul 28, 2011 10:52 am
Hi all,
The last time I had some fun digging out my Users Manual and doing some Super Basic programming using Qemulator on OS X. I tried to define a procedure which opens channels and windows with various formats on the screen. The procedure should be flexible and I want it to transmitt values in order that with a single command and 3 numbers I can open the channel, define the x-position and the colour. This causes errors as I don't know the right syntax for the scr_ command.
Example:
100 openchannel 4,120,3
110 def proc openchannel (number, xposition, colour)
120 open#number, scr_200x200axpositionx40
130 paper#number, colour: cls #number
140 end def
Any help?
Best,
Thor
The last time I had some fun digging out my Users Manual and doing some Super Basic programming using Qemulator on OS X. I tried to define a procedure which opens channels and windows with various formats on the screen. The procedure should be flexible and I want it to transmitt values in order that with a single command and 3 numbers I can open the channel, define the x-position and the colour. This causes errors as I don't know the right syntax for the scr_ command.
Example:
100 openchannel 4,120,3
110 def proc openchannel (number, xposition, colour)
120 open#number, scr_200x200axpositionx40
130 paper#number, colour: cls #number
140 end def
Any help?
Best,
Thor