|
You can use conditional jumps in your script:
elsif or after the next else or endif at the same depth.The following script computes the preferred length of a bed for a person age years of age:
if age <= 3
length = 1.20
elsif age <= 8
length = 1.60
else
length = 2.00
endif
A variant spelling for elsif is elif.
© ppgb 19991112