Function & Argument Type(s)
|
Description
|
Example |
appendFile (String filename, java.lang.Object token) |
Write the token to the specified file. |
File_Name = “E:\io.txt” appendFile("File_Name",port_token) |
asURL (String fileName) |
Convert the argument from a fileName to a URL that begins with "file:". |
asURL("File_Name") |
readerToString (java.io.FileReader _is) |
Read the entire content of a Reader into a String. |
|
readFile (String filename) |
Get the string text contained in the specified file. |
readFile("File_Name") |
writeFile (String filename, java.lang.Object token) |
Write the token to the specified file. |
writeFile("File_Name",port_token) |
recordTokenToLineWriter (data structure) |
Maintain the data structure format and converted into a string. Send this to a FileWriter block. The resulting file can be imported using the FileReader to generate Data Structures for the model. |
recordTokenToLineWriter (input) |
listenerFormatOutput (data structure) |
Formats the data structure as a string to include the current time header. Feed this into a FileWriter block. Format will be identical to the Listen viewers. |
listenerFormatOutput (input) |
myWarning (string message) |
Displays a warning message as a dialog pop-up |
myWarning ("The processing is too slow") |
myQuestion (string message) |
Pop-up window that accepts input from the user in the form of 'Yes' or 'No" |
myQuestion ("Would you like cherries on top of your chocolate?") |
Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites