6.0

Table Of Contents
108
Language Reference
4
path
endinstream()
If you want to create a reference to a text document (for example a sample data file), replace "external" by
"cleartext.”
Argument
resname — String value specifying the alias to use to refer to this resource file.
path — String value specifying the path of the resource file.
Code Sample Example
This example creates the alias 'photo' that refers to the resource file c:\images\employees\JAdler.bmp.
Example
instream external photo
c:\images\employees\JAdler.bmp
endinstream()
%You can then reference the resource using the alias
showbitmap('photo',72,1,1)
IsNumber (function)
Tests a string and returns true if the string is a measure or integer value.
Syntax
isnumber( string ) Boolean value
Argument
string — String value.
Code Sample Example
This example displays the word Yes if the string is either a measure or an integer, and No if it is not.
Example
show(if(isnumber(@(1,1,10)),'Yes','No'))