[Implemented] Initial values for Static variables.

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
matthew180
User
User
Posts: 64
Joined: Mon Jun 30, 2003 5:36 pm
Location: Michigan
Contact:

[Implemented] Initial values for Static variables.

Post by matthew180 »

It would be nice to be able to assign initial values to Static variables, something like this:

Code: Select all

Procedure x()
  Static a.l = 1000
  Static b.l = -1
  Static c.s = "Hello World"

...

EndProcedure
Matthew