Page 1 of 1

Plotting variables

Posted: Sat Jun 09, 2007 6:12 pm
by Chris
Let's say I have this:
L=L+1
IF L=60 THEN L=0 : N=N+1
GOTO 105

How would I make it so it puts the value of N in this:
PLOT 1,1,"TIME:";N
I tried this, but it wouldn't work.

Posted: Sat Jun 09, 2007 9:16 pm
by Dbug
Try this:

PRINT@1,1;"TIME:";N

:)

Posted: Sat Jun 09, 2007 10:17 pm
by Pengwin
Dbug wrote:Try this:

PRINT@1,1;"TIME:";N

:)
Thanks for that Dbug. I'd never come across that before

Posted: Sat Jun 09, 2007 10:24 pm
by Dbug
"Print at" is one of the view differences between the Oric 1 and Oric Atmos BASIC. It's actually quite buggy, and there are many way to get it to fail, but it exists :)