|
Page Updated: August 31, 2005
Latest Version: 0.1.359 |
|
Debug |
Install | File
I/O |
RDF |
Network |
Sound | Utils |
XUL | Zip
|
|
|
Home | Mailing List |
Install |
Source Code |
Downloads | Bugs
| docs
| clients |
System
File: utils/system.js
Status: New
Module Identifier: jslib_system
Fuction List
- Constructor
- System
- Creates the System
object.
- Members
- os
- getter string that returns system. eg: win32, linux, macosx, macos
- separator
- getter string that returns local file path separator. eg: "/"
for linux, "\" for win32, etc ...
Example
To use the System library:jslib.init(this);
include (jslib_system);
var sys = new System;
var os = sys.os;
jslibPrint(os);
var sep = sys.separator;
jslibPrint(sep);