TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: TIM HUTZLER
from: THOMAS GEIGER
date: 1996-07-13 00:00:00
subject: FOR/NEXT no work with ??

Tim Hutzler@1:119/88 erdachte sich am 10.07.96
folgendes zum Thema "FOR/NEXT no work with ??"... ;)
TH>Well, I just discovered that a FOR/NEXT loop doesn't work with WORD
TH>data types.
        It doesn't work with BYTE data types, too.
TH>==============================
TH>FOR x?? = 10 to 1 STEP -1
TH>    ? x??
TH>NEXT
TH>==============================
TH>Any code between FOR and NEXT is *skipped*/ignored.
        Dito for Byte.
TH>I can use a integer data type this time, but I expect a free upgrade.
        I think that it could be because of the 'STEP -1' statement, BYTE  
and WORD can't handle the negative value of '-1', OR probably only the  
PwerBASIC Compiler can't...
        BUT it should be fixed, you're right on that... ;)))
                                        Bye...
             Tom "STARGAZER" Geiger, *Sector Command* of XCOM.
                                     (EB fuer PGP-Schluessel!)
   2048-Fingerprint =  19 B8 57 CE FF 3B 07 DF  D2 79 34 02 82 2F F3 E5
--- Stargazer  v1.20
---------------
* Origin: All Bugs (c)1996 ... (2:246/9007.5)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.