Supported Datatypes

The PowerBuilder to .NET compiler converts PowerScript datatypes to .NET datatypes.

This table shows the datatype mapping between PowerScript and C#:
PowerScript datatype C# datatype
boolean bool
blob byte [ ]
byte byte
int, uint short, ushort
long, ulong int, uint
longlong long
decimal decimal
real float
double double
string string
user-defined structure struct
user-defined nonvisual object class
Date DateTime
Time DateTime
DateTime DateTime
Note: Arrays are also supported for all standard datatypes.