Download HDevelop User`s Manual

Transcript
abs
acos
and
asin
assign
atan
atan2
band
bnot
bor
break
bxor
by
catch
ceil
chr
chrt
comment
continue
cos
cosh
cumul
deg
deviation
else
elseif
endfor
endif
endtry
endwhile
environment
exit
exp
fabs
false
find
floor
fmod
for
gen_tuple_const
H_MSG_FAIL
H_MSG_FALSE
H_MSG_TRUE
H_MSG_VOID
if
ifelse
insert
int
inverse
is_number
ldexp
log
log10
lsh
max
max2
mean
median
min
min2
not
number
or
ord
ords
pow
rad
rand
real
regexp_match
regexp_replace
regexp_select
regexp_test
remove
repeat
return
round
rsh
select_rank
sgn
sin
sinh
sort
sort_index
split
sqrt
stop
strchr
strlen
strrchr
strrstr
strstr
subset
sum
tan
tanh
throw
to
true
try
uniq
until
while
xor
Table 7.18: Reserved words.
else
...
endif
elseif This operator is similar to the else-part of the previous control flow structure. However, it
allows to test for an additional condition. The block between elseif and endif is executed if
<condition1> is false and <condition2> is true. elseif may be followed by an arbitrary number
of additional elseif instructions. The last elseif may be followed by a single else instruction.
if (<condition1>)
235
Language
7.7 Control Flow Operators