6.0

Table Of Contents
132
Language Reference
4
Argument
expression — Boolean value. If it evaluates to true, the loop ends. If it evaluates to false, the loop repeats.
Code Sample Example
This example prints the string ‘Cheers’ ten times, one underneath the other, with a dashed line above and
below the ten instances.
Example
show('---------------')
crlf(0.16)
&count := 1
repeat
&count := &count + 1
show('Cheers')
crlf(0.16)
until(&count = 10)
show('---------------')
crlf(0.16)
ResourceType (function)
Returns the type of a resource. Recall that resources are either images or attachments.
Syntax
resourcetype( name ) integer value
Argument
name — String value that specifies the name of the resource.