TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: DAVID ROPER
from: JAMSHID KHOSHRANGI
date: 1995-11-04 23:55:00
subject: Fdstat.Bas Source

DR> > MTIMER
DR> > FOR x = 1 TO 1000
DR> >     FOR i = 1 TO 4
DR> >         ON i GOSUB 1, 2, 3, 4
DR> >     NEXT
DR> > NEXT i
DR> > PRINT MTIMER
DR>  I must be missing part of this post. :-)  It looks like "X" is used
DR>  on the outside loop while "I" is used on the inside loop, but the
DR>  NEXT "I" at the bottom "confuses" me.  I think I read somewhere
DR>that  PB doesn't really look at the "var" after the NEXT statement,
DR>so  this "misguided NEXT var" Loop would be straightened out by PB
DR>when  it compiles.  Is *That* what this code is all about?  Thanks.
No, since I wrote the original, I can answer --
The x and i thing were sloppy programming on my part.... The code was
never meant to be seen, I just posted it because the results were
interesting.  PB doesn't care so I didn't care....  ;)
Jamshid
___
 * POW 1.2  On Trial * Welcome to The Rev. Spooner School of Programming
--- Maximus/2 2.01wb
---------------
* Origin: Sound Stage BBS - Live Via Satellite - (604)944-6476 (1:153/7070)

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