[Coco] Decypher this code!
J.P. Samson
jps.subscriptions at gmail.com
Sun Oct 5 17:58:01 EDT 2008
On Oct 1, 2008, at 6:16 PM, Robert Gault wrote:
> It would help to see the DATA statements but without them, my best
> guess would be:
>
> 95 CLS(0):FORX=1TO26STEP2:T=(X-1)*16:T2=(X-1)*16+16:PRINT at T,P$(X,1);:
> PRINT at T2,P$(X,2);:NEXTX:END
Why use (X-1)*16+16 when you could use the mathematically equivalent
X*16. But who knows if the programmer bothered to optimize!
-- JP
More information about the Coco
mailing list