7.5

Table Of Contents
%use the default font
endif()
show('Some text to display')
%Display the text
crlf()
%Skip to the next line
endfor()
Example with version 7.0
define(&x, integer, inttostr(@(1, 1, 10)))
if(&x = 1)
setstyle(&bluefont)
elseif(&x = 2)
setstyle(&redfont)
else()
setstyle(&default)
endif()
Related topics:
l "If (function)" (page 554)
InStream... EndInStream (procedure)
Ceate an alias for a resource file (image, data file, attachment, etc.). You can then reference the resource file using the alias
instead of the path. This eliminates the need to repeat a path in more than one place in your code, and thus makes your code
easier to maintain. For example, if you change the resource, you need only modify the path in the instream() command,
rather than everywhere you reference the original resource.
You cannot use the instream() command inside any function you define using function @name().
©2010 Objectif Lune Inc - 294 -