Page 1 of 1

Feature Request: #PB_Any global definitions inside procedure

Posted: Wed Oct 18, 2006 9:28 pm
by Tranquil
Hi!

These huge "Global section" at the beginning of the source makes me wired. Sometimes they are not changed correcty, sometimes some are missed. Why not adding the "global" keyword in front of the Gadget/ Window-Command like this:

Code: Select all

Global IMG_Haupt_Auswertungen = ButtonImageGadget(#PB_Any, 510, 0, 160, 160, ImageID(Image3))
I think this should be more easier to code in VD couse you only have to monitor these line and the Global-Section at the beginning can be forgotten.

Posted: Tue Jan 08, 2008 11:14 pm
by Berikco
It is a one pass compiler, not a good idea