Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | if.else 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
if.else

Language: MioScript
Product: MioFactory


Syntax

if.else


Parameters

None.


Return value

No value is returned.


Description

The lines of code following if.else are interpreted if the result of the condition of the latest if is false.

Note: Do not add parenthesis at this end of this function as in the example below.

See also: if, if.end

More information: MioScript: Conditions




MioScript Sample Code

if(&firstVar = &secondVar)
    ...
if.else
    ...
if.end