flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Alan Illeman
Why don't you change all the '?' in variable.inc to '0' thereby
initialising all the variables to zero? I always initialise my variables. Cheers, Alan |
|||
![]() |
|
MCD
Alan Illeman wrote: Why don't you change all the '?' in variable.inc to '0' thereby He could do this, but this would require additional executable size. Another solution I would suggest is to simply separate the "variables.inc" in an "iglobal" and an "uglobal" block (both in the same file) which will actually be placed into the executable in the main Fasm.asm or Fresh.asm file. _________________ MCD - the inevitable return of the Mad Computer Doggy -||__/ .|+-~ .|| || |
|||
![]() |
|
JohnFound
Alan Illeman, actually Windows zeroes undefined variables. Sometimes, it is not very usefull to initialize the variables, because its value is not known at the design time, but have to be computed in run time.
Actually in the latest FASM 1.60, mentioned problem is solved, so... ![]() Regards. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.