Source code

CERNY.apps

Base package file for applications. Defines function for reading and writing to the filesystem. Currently relies on rhino.

Uses

None

Functions

read

Read a file from the filesystem.

Line endings are replaced by unix line endings.

filename (string) : the name of the file
return (string) : the content of the file
write

Write a file to the filesytem.

filename (string) : the name of the file to write
content (string) : the content to write in to the file

History

2007-11-17 : Created.

API Documentation for version

2.0

Scripts

2.0

Functions

Functions

read write