Version?

Blitz3D Forums/Blitz3D Beginners Area/Version?

pc_tek(Posted 2008) [#1]
Hi all...which B3d version is recommended? The version I have installed is 199 - and I am getting an odd error. A global variables value is 0 - even when I assign something to it!

I remember reading somewhere on here that versions have varying bugs...but this one is annoying the c*&p out of me!


boomboom(Posted 2008) [#2]
Its probably something in your code rather than a version problem. Are you declaring the variable as Global in your main loop? or refering back to it with Global at the front of it?


pc_tek(Posted 2008) [#3]
I found the problem...it was the version of Blitz.


Terry B.(Posted 2008) [#4]
Yah, thats probally in your code.

Post some code?


pc_tek(Posted 2008) [#5]
Read previous post


markcw(Posted 2008) [#6]
Are you saying this is bug in v1.99 or your code?


Gabriel(Posted 2008) [#7]
Please post the code that demonstrates the bug in 1.99. I'm using 1.99, and if there is an unfixed bug on something basic like this, I'd very much like to see the problem.


pc_tek(Posted 2008) [#8]
Here is the info...

http://www.blitzbasic.com/Community/posts.php?topic=56211#625085

Although, some of my Global variables WERE zero...even though they had been defined at the beginning of the program. I was getting errors, such as 'Image not found'...or the like.

Damn infuriating...after spending hours looking for a problem with my code, it turned out there wasnt one. I downgraded to 188 and hey-presto!

I had also read somewhere that 199 was unstable...hence my downgrade to 188.


lo-tekk(Posted 2008) [#9]
I know this doesn't help much, but i got 13000 lines of code within a single project without spotting such behavior. Try a clean reinstall of the latest version. Try another IDE; i am using IDEAL with strict enabled, showing all undeclared vars. Overview the loadorder of your includes. Maybe you redeclared your globals somewhere, or you have wrong datatypes assigned. Debuglog the contents of your vars in different places, so you might catch the point where your globals lost their content. Try to reorganize your code. If you load an image into a global, immediately debuglog the global in question if it is non zero. Turn your code into smaller chunks of code. If all fails write a small test program and see if the behavior still exists.
Good luck.


Andy(Posted 2008) [#10]
> pc_tek <

Remember to post the bug in the Blitz3D Bug Reports forum.


Pirate(Posted 2008) [#11]
i have v1.99 and do not have this problem...i would download the upgrade for v1.99 again....


Floyd(Posted 2008) [#12]
i have v1.99 and do not have this problem...


What problem? There is not enough detail to tell what it was.

The link was to an old bug with 1.93 and the debugger. That should not have affected the way programs behave. It was just a matter of the debugger showing globals as zero no matter what their actual value.