Chapter 3 DynaScript Predefined Objects


system object

Object

Provides functionality for interacting with the server's operating system environment.

Syntax

To use a system property:

system.propertyName

To use a system method:

system.MethodName( parameter ) 

Description

The system object is provided for you.

Example

This example modifies the system path.

<--SCRIPT
// Adds e:\src to the Environment System Path
path = system.GetEnv( "PATH" );
path = path + "e:\src;";
system.SetEnv( "PATH", path, true );
-->

See also

"errorNumber property".

"errorString property".

 


Copyright © 1999 Sybase, Inc. All rights reserved.