I don't know, if this is already requested, implemented, not implementable due to other syntactical constructs or that ugly and unuseful, that it'll never be wanted
Sorry, I'm new..
1. If "on-the-fly":
something like
Code: Select all
SetGadgetText(#MyButton, (MyVar > 0) ? "MyVar > 0" : "MyVar <= 0")
2. Expressions with variable-assignment:
Code: Select all
While (MyVar = MyProcedure) > 0
MessageRequester("", Str(MyVar))
Wend
3. Short if:
using if - endif seems to be a bit too much for a single command like
Code: Select all
If Not DoneYet
MessageRequester("", "Not done yet.")
EndIf
Code: Select all
If Not DoneYet : MessageRequester("", "Not done yet.") : EndIf
What about something like
Code: Select all
If Not DoneYet Then MessageRequester("", "Not done yet.")
Code: Select all
While MyProcedure > 0 Do MessageRequester("", Str(MyVar))
4. Also, how about ForEach with an array?
One could use For with ArraySize,
but couldn't that be implemented internally into ForEach, too?
I hope my requests aren't too dumb,
Thanks.