[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on ProDOS SmartPort drive remapping



> : Thanks, you just stopped me from doing that!  ;-)
> :
> : In any case, the result of running it is:
> : ABCDEFGHIJKLMNOPQRSTUVWXYZ
>
> I just can't stop. In Applesoft BASIC it's:
>
> 10  FOR T = 193 TO 218
> 20  PRINT  CHR$ (T);
> 30  NEXT T

As Applesoft sets the high bit on characters it outputs you might as
well use the standard ASCII codes...

10 FOR T = 65 TO 90

or even

10 FOR T = ASC("A") TO ASC("Z")

to make it less cryptic.