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.

Load_mainjet is called one time only outside the main loop ( a classic while not.....wend)
The one that are called are draw_mainjet (every loop) and create object (every time i press button).
I have tried to eliminate draw_mainjet and incorporate the procedure INTO the main just after the classic "setbuffer backbuffer()" and no error occurr except that every time i call create object the position of the object are changed at random (???).
I use the "for each" loop because it's a full type "control"...if i don't do it the function don't work at all....
Except for assigning multiple variable to the same variable's type (actually i use multiple names for the same type object,like jet\positionx in this manner:x=jet\positionx......posX=jet\positionx....and so on...but at the end it's confusing because the multiple variable names to remember...)there are other solution???