Bug or my fault? (types related)

Blitz3D Forums/Blitz3D Beginners Area/Bug or my fault? (types related)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Another problem.....if i use the previous example (to write the code inside the main) when i call other function that rely in some manner to what is writed inside the main.....i get "image frame out of range"............ARGH
It seems that the "if frame=>6 then frame = 6" (for make the frame stop at the max frame...) is not executed!
Because if i use debuglog frames i see 19...
Why?It seems that frames is added to some variable,but i don't do it manually!!!
Are there some bugs with Blitz types or in some manner is my method of writing function??