--- Hakki wrote:

> Unless this is some novel undocumented IF-syntax it's so wrong I
> don't know where to start.

The If() expression is documented on the Expressions page of PowerPro
help.

If(Expression, IfTrue)

Returns IfTrue if Expression evaluates to anything other than 0 or an
empty string. Returns an empty string otherwise.

Local MyName = "Ernie"
Win.Debug("My name is", If(MyName != "Alex", "not"), "Alex.")

IfElse(Expression, IfTrue, IfFalse)

Returns IfTrue if Expression evaluates to anything other than 0 or an
empty string. Returns IfFalse otherwise.

Win.Debug("Mute is currently", IfElse(Muted, "on.", "off."))

-- 

Alex Peters / Melbourne, Australia
PowerPro v3.8.16 / Windows XP



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to