Commodore 128 Alive!

Commodore 128 => Tips & tricks => Topic started by: Blacklord on December 29, 2007, 10:23 AM

Title: Basic keywords listing
Post by: Blacklord on December 29, 2007, 10:23 AM
Firstly enter the following one line program:

10 REM

Then in direct mode:

FOR T=128 TO 255:POKE 7174,T:LIST:PRINT:FOR D=1 TO 100:NEXT:NEXT

You'll get a list of all BASIC keywords & their numeric values.
Title: Basic keywords listing
Post by: Stephane Richard on December 29, 2007, 11:14 AM
Another good one.  lol...did you have to experiment to get those from somewhere, a stash of magazines hidden under your rug in a trap door. ;-).
Title: Basic keywords listing
Post by: Blacklord on December 29, 2007, 11:17 AM
Quote from: mystikshadowsAnother good one.  lol...did you have to experiment to get those from somewhere, a stash of magazines hidden under your rug in a trap door. ;-).
Various magazines :) They aren't mine.

Still surprises me every now & again what things turn up that have been long buried & forgotten.

cheers,

Lance
Title: Re: Basic keywords listing
Post by: Edwing on May 06, 2009, 02:52 PM
Hey, cool method :รถ)

But if I may ask, doesn't this leave out the two-byte tokens? Shouldn't one have a nested loop for those?


Ciao,
Edwing
EhPortal 1.34 © 2025, WebDev