[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LINE NUMBERS
In article <1111910812.313397.176870@g14g2000cwa.googlegroups.com>,
"Rex the Strange" <roger.main@widgetinc.com> wrote:
> HEY, HERE'S ANOTHER ONE (oops, sorry for the uppercase - been
> telnetting to my AIIE)...
>
> I'm trying to learn ye olde basic - I'm finding this isn't working:
>
> [abstract example]
>
> 10 LNX = 1000
> 20 GOTO LNX
>
> [end abstract example]
>
> You can't use variables to denote line numbers!!?? PLEASE SAY IT AIN'T
> SO!! (now I'm actually screaming in incredulity).
>
> rts
>
Sorry, bub, but "It is so".
Integer BASIC can do it. Gotta DOSS 3.3 master handy? Load Integer into
the language card, and you can easily GOTO/GOSUB to a variable.
Can't calculate floating-point numbers worth diddly-squat, but you can
GOT a variable...
I've forgotten... Didn't Applesoft have an ON var GOTO 10, 20, 30, etc
statement? Or was that just ONERR GOTO? It's been too long, and my brain
ain't working!
--
Don Bruder - dakidd@sonic.net - New Email policy in effect as of Feb. 21, 2004.
Short form: I'm trashing EVERY E-mail that doesn't contain a password in the
subject unless it comes from a "whitelisted" (pre-approved by me) address.
See <http://www.sonic.net/~dakidd/main/contact.html> for full details.
- References:
- LINE NUMBERS
- From: "Rex the Strange" <roger.main@widgetinc.com>