Miscellanous

Miscellanous. More...

Functions

 exec (filename)
 Run/open external file.

 inputbox (caption, message, defaultanswer)
 Pop up a window to input a text.

 random (dec)
 Return a random value.

 writelog (astring)
 Print in log.


Detailed Description

Miscellanous.


Function Documentation

exec filename   ) 
 

Run/open external file.

Run an external application or open the file in the registered application.

Parameters:
filename File application or document to run or open.
Example:
exec("notepad.exe")
exec("apdfdoc.pdf")

inputbox caption  ,
message  ,
defaultanswer 
 

Pop up a window to input a text.

Pop up a window to input a text. Will have specified caption, message and default answer.
Return typed text.

Parameters:
caption Window caption
message Message presented
defaultanswer Default answer presented
Example:
gotback=inputbox("Title", "Enter your name", "")
writelog(gotback)

random dec   ) 
 

Return a random value.

Return a random value less than dec.

Parameters:
dec Decimal value
Example:
writelog(random(149))

writelog astring   ) 
 

Print in log.

Print astring in log window.

Parameters:
astring String to be printed


Generated on Wed Dec 3 10:18:42 2003 for Easy Control