Onetastic Macro Documentation >
>
return
return Statement
Description
Returns the given expression from the current function. If the current function is Main, exists the macro. The expression is optional.
Syntax
return expression
Examples
function PageHasImages($page)
$images = QueryObjects("Image", $page)
return Array_Length($images) > 0
See Also
|