Chapter Contents |
Previous |
Next |
External File Model: _setFile |
Syntax | |
Example |
Syntax |
CALL NOTIFY (viewer-name, '_setFile', file, filetype<, cntrl>); |
Argument | Type | Description | ||
---|---|---|---|---|
file |
C | specifies the filename or fileref of the new file | ||
filetype |
C | specifies a value indicating the content of file: | ||
'N' | a filename | |||
'F' | a fileref | |||
cntrl |
C | specifies a carriage control type: | ||
'CC' | host | |||
'FORTCC' | FORTRAN | |||
'NOCC' | none |
Example |
In the following example a text viewer using the external file model is changed to display the contents of the file called "NEWFILE":
/* change the file; newfile is the name of the file being used. */ call notify('textview', '_set_file_', 'newfile', 'n');
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.