Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | ? SEARCH    

  Functions
?
doEvent.eventName
event.end
event.eventName
for
for.exit
for.next
function.end
function.functionName
if
if.else
if.end
return
while
while.end
while.exit

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Statement
?

Language: MioScript
Product: MioFactory


Syntax

?(Condition, ifTrue, ifFalse)


Parameters

CONDITIONConditionCondition to be evaluated.
For more information: MioScript: Conditions
ANYifTrueValue to return if the result of the condition is true.
ANYifFalseValue to return if the result of the condition is not true.


Return value

No value is returned.


Description

Returns the second parameter if the condition is true, the third parameter otherwise.

See also: if, if.else, if.end

More information: MioScript: Conditions




MioScript Sample Code

&var = ?(&x = &y, "x is equal to y", "x is not egual to y")