Variables In PowerBuilder

Variables In PowerBuilder

Arrays

Initializing

Set to Null Array

Decimal

Default Values

VariableDefault Value
BlobA blob of 0 length; an empty blob
Char (or character)ASCII value 0
BooleanFALSE
Date1900-01-01 (January 1, 1900)
DateTime1900-01-01 00:00:00
Numeric (integer, long, decimal, real, double, UnsignedInteger, and UnsignedLong)0
StringEmpty string (“”)
Time00:00:00 (midnight)

Variable Declaration, setting to null

To set a variable to null in the declaration statement

Integer

String

A standard data type that is characters enclosed in single (‘) or double (“) quotation marks, including a string of 0 length (the empty string “”). The maximum number of characters in a string is 60,000.

Null

Masks

! Upper Case
^ Lower Case
a Alphabetical
x Any character
# Number

Sample format5-5.5
[General]5-50.5
05-51
0.005.00-5.000.05
#,##05-51
#,##0.005.00-5.000.50
$#,##0;($#,##0)$5($5)$1
$#,##0;-$#,##0$5-$5$1
$#,##0;[RED]($#,##0)$5($5)$1
$#,##0.00;($#,##0.00)$5.00($5.00)$0.50
$#,##0.00;[RED]($#,##0.00)$5.00($5.00)$0.50
0%500%-500%50%
0.00%500.00%-500.00%50.00%
0.00E+005.00E+00-5.00E+005.00E-01

Get From Internet

Good Luck!

PassWords

About The Author

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments