Feature Request: #PB_Any global definitions inside procedure

You need some new stunning features ? Tell us here.
Tranquil
Addict
Addict
Posts: 952
Joined: Mon Apr 28, 2003 2:22 pm
Location: Europe

Feature Request: #PB_Any global definitions inside procedure

Post 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.
Tranquil
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

It is a one pass compiler, not a good idea
Post Reply