I like the idea, but I think that the C-like ternary operator ('?') is not so readable. To conform with the current PB-syntax, I'd like to have something more flowing, like natural language. Maybe Test/True/False -keywords, like this:
Test Known And FurryAnimal True Name = "Peter Rabbit" False Name = "???"
Test JumpFlag True ProcedureThis ( ) False ProcedureThat ( )
Or using just either True or False keyword...
Test AtomicWar Or Godzilla Or Earthquake False Danger = 0
Test CountToZero True CountToZero - 1
Just my 0.02.
Last edited by eesau on Fri Sep 14, 2007 9:34 am, edited 1 time in total.
Yeah, IIF() is a nice macro but doesn't work for setting variables... I see netmaestro suggested the same thing as me at the bottom of the thread Kiffi linked to...