newspeoplefor developersdocumentationdownloads

nFileNode Script Interface

nfilenode:

Super Class:

C++ Class:

Info

NOH representation of a file. This is useful for scripting languages without native file I/O support, like Nebula's MicroTCL.

Commands:


open

Command Input:
s(Filename), s(AccessMode)
Command Output:
v
Command Description:
Open a file. Filename can be a Nebula filename using path assigns. AccessMode is a string containing an "r" for read-mode, and/or "w" for write-mode.

close

Command Input:
v
Command Output:
v
Command Description:
Closes a file.

isopen

Command Input:
v
Command Output:
b(IsOpen)
Command Description:
Return "true" if file is open.

puts

Command Input:
s(String)
Command Output:
b(Success)
Command Description:
Put a string into the file.

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.