Plotting variables

Everything related to BASIC version 1.x (Oric 1 and Atmos) or HYPERBASIC (Telestrat).
Don't hesitate to give your small program samples, technical insights, or questions...
Post Reply
Chris
2nd Star Corporal
Posts: 29
Joined: Tue Jun 05, 2007 1:45 am
Location: Oregon, United States
Contact:

Plotting variables

Post by Chris » Sat Jun 09, 2007 6:12 pm

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.

User avatar
Dbug
Site Admin
Posts: 2357
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Post by Dbug » Sat Jun 09, 2007 9:16 pm

Try this:

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

:)

User avatar
Pengwin
Pilot Officer
Posts: 65
Joined: Sun Jan 07, 2007 11:03 pm
Location: Scotland
Contact:

Post by Pengwin » Sat Jun 09, 2007 10:17 pm

Dbug wrote:Try this:

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

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

User avatar
Dbug
Site Admin
Posts: 2357
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Post by Dbug » Sat Jun 09, 2007 10:24 pm

"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 :)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests