Chapter 3 DynaScript Predefined Objects


system properties

The system object has these properties:

errorNumber property

Syntax

system.errorNumber 

Attributes

This property is read-only.

Description

A number [integer] representing the error code of the last system method call.

Example

This example displays an error code:

<!--SCRIPT
document.WriteLn( system.errorNumber );
-->

See also

"errorString property".

errorString property

Syntax

system.errorString 

Attributes

This property is read-only.

Description

A string containing an error message for the error code of the last system method call. This is a read only property.

Example

This example displays an error message:

<!--SCRIPT
document.WriteLn( system.errorString );
-->

See also

"errorNumber property".

 


Copyright © 1999 Sybase, Inc. All rights reserved.