[Implemented] "Global" Syntax for PB4

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
naw
Enthusiast
Enthusiast
Posts: 573
Joined: Fri Apr 25, 2003 4:57 pm

[Implemented] "Global" Syntax for PB4

Post by naw »

It would be nice if a Global could be declared and its value set in one *operation*:

Global MYGLOBAL.s="1234"

The current syntax should be maintained of course for compatability:

Global MYGLOBAL.s: MYGLOBAL.s="1234"

Not the most significant request (compared to the lack of STDIN support for instance)
Ta - N