[Implemented] Make Flags optional for every command

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

[Implemented] Make Flags optional for every command

Post by BackupUser »

Restored from previous forum. Originally posted by freak.

I'd like to see the flags parameter being optional for every command, not only those were flags have added lately.

I'm talking about those commands:
Frame3DGadget()
MessageRequester()
RunProgram()

FontRequester()
AllocateMemory()

Especially FontRequester() and AllocateMemory() becourse they only accept 0 for flags anyway.

As far as i understand that, this only needs some changes to the .DESC
files, not to the code itself, so it is no big deal.
It would make it less complicated, if it works the same for every command, and it saves some typing. :)

That's it...

Timo




--------------------------------
Programming today is a race between software engineers striving to build bigger and
better idiot-proof programs and the universe trying to produce bigger and better idiots.

...So far, the universe is winning.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Good idea. It has a little programming part to do, don't be fooled.

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by freak.

> Good idea.

:)
Post Reply