TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ROWAN_CROWE
from: FRANK COX
date: 1997-09-11 01:05:00
subject: Odd-Ball code...:)

 FC>> INCR TWIRLEY   ' would be slightly faster
 > If Powerbasic is reasonably "smart", both lines would 
 > probably generate identical machine code (assuming it's an 
 > integer).
I just tried it.  The .EXE file 18,256 bytes long in both cases, as follows:
x%=1
incr x%
and
x%=1
x%=x%+1
DOS FC.EXE shows about a dozen differences in the .EXE, though, for whatever 
reason.
--- Msgedsq 2.2e
---------------
* Origin: THE BIG ELECTRIC CAT Melville Sask *SDS* *PDN* (1:140/53)

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™.