MRC: Bug (MSX Resource Center MSX Forum)MSX Resource Center MSX Info Update - Finnish MSX madness at its best              
              
English Nederlands Español Português Russian         
 News
   Frontpage
  News archive
  News topics

 Resources
   MSX Forum
  Articles
  Reviews
  Fair reports
  Photo shoots
  Fairs and meetings
  Polls
  Links
  Search

 Software
   Downloads
  Webshop

 MRC
   Who we are
  Join our team
  Donate
  Policies
  Contact us
  Link to Us
  Statistics

 Search
 
  

  

 Login
 

Username

Password




Don't you have an account yet? Become an MSX-friend and register an account now!.


 Statistics
 

There are 51 guests and 4 MSX friends online

You are an anonymous user.
 

MSX Forum


MSX Forum

MSX Resource Center - MRC: Bug

Goto page ( Previous Page 1 | 2 | 3 )
Author

MRC: Bug

NYYRIKKI
msx master
Posts: 1510
Posted: October 27 2004, 16:40   
Quote:

Uhm, what does this do again?


I can quarantee, that it is not important thing to know
NYYRIKKI
msx master
Posts: 1510
Posted: October 27 2004, 18:57   
Here is also yet another fast pure BASIC version: (I really don't like recursion, but that is my personal problem.)
10 DEFINTA-Y:DIMV(255)
20 L=1:FORI=1TO255:IFS=LTHENS=0:L=L*2
30 V(I)=1+V(S):S=S+1:NEXT
40 OPEN"TODO.TXT"FORINPUTAS#1
50 IFEOF(1)THENCLOSE:OPEN"TODO.PCK"FOROUTPUTAS#1:PRINT#1,Z1:PRINT#1,Z0:END
60 A=ASC(INPUT$(1,1)):Z1=Z1+V(A):Z0=Z0+8-V(A):GOTO50


AuroraMSX

msx master
Posts: 1249
Posted: October 28 2004, 11:20   
Quote:

I just proven myself I am dumb
I wasn't really paying attention.. It's recursive...



/me wipes yet another item from the TODO list
 
Goto page ( Previous Page 1 | 2 | 3 )
 







(c) 1994 - 2008 MSX Resource Center Foundation. MSX is a trademark of MSX Licensing Corporation.