Captains log, stardate -326466.1:
Hi Tim, how's life?
In a Subspace message from Tim Hutzler to All about FOR/NEXT no work with ??,
you said:
TH> Well, I just discovered that a FOR/NEXT loop doesn't work with WORD
TH> data types.
BYTE and DWORD don't work either with a negative step...
TH> Any code between FOR and NEXT is *skipped*/ignored.
TH> I can use a integer data type this time, but I expect a free upgrade.
TH>
Well, they can't handle negative values... The only way around I know of
is using:
FOR X?? = 1 TO 10
PRINT 11 - X??
NEXT
Or using another data-type...
>>> Marcel Veldhuizen <<<<<<<< * Origin: United Bbs Systems Europe MailGate to -> Fido USA (2:2802/337.0)
|