Datatypes for method arguments and return values

Primitive types

JScript supports three primitive datatypes:

Method arguments and return values and event parameters are one of these basic types, or an object type.

DataWindow methods that deal with specific data types, such as GetItemDecimal, are not available for the Web ActiveX. Instead, you use the method that handles the more general data type, such as GetItemNumber.

Date data types

PowerBuilder has several date and time data types, but in JScript these all map to the Date object.

Enumerated data types

PowerBuilder enumerated data types have named values, but in JScript, each value is a number. The list of numbers (and their meaning) is documented in the DataWindow Reference for each enumerated data type.