Hi all.
George, tell me if I am wrong... but when I was testing because of the bug that shows a error in the EXE when the program exceeds certain size limit, I had to make a little program in Visual Basic that erases all comments from my code (saving my project in TXT format before) to "compilate" the EXE file sucesfully. My program with comments included was exceeding the limit that causes the EXE file to not run correctly, but if I erase the comments and I make an EXE from the NSB IDE then the EXE that results was smaller and runs fine. I was testing this fact and I found that the EXE reduces 2 bytes for each character (or byte) of comments. I supposed that the encryption method on NSB format and EXEs was the cause of the "2 bytes reduction" for each byte. I'm wrong??? Best regards. To: [email protected] From: [email protected] Date: Sun, 19 Apr 2009 07:08:22 -0400 Subject: Re: [nsbasic-ce] Use of Remarks, REM, or the semicolon and comments Remarks have no effect on execution time. When you make an exe file, they are stripped out of your code, reducing program size. The size of strings and variables is limited by system memory. Programs have a maximum size of 1 or 2 megs, depending on a few things. This is the code itself - variables used at runtime do no count. >Is there any affect on how many remarks can be used in a program? > >Any down side in using alot of remarks? > >Limitation to final file size? > >are they discarded when making an EXE file? > >Any limitations for Strings, variables > >Is there a chart somewhere that illustrates these limits? > >Thanks > > > >------------------------------------ > >Yahoo! Groups Links > > > _________________________________________________________________ Más rápido, sencillo y seguro. Descárgate ya el nuevo Internet Explorer 8 ¡Es gratis! http://www.vivelive.com/ie8 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---
