Tuesday, October 4, 2011

Powerbuilder Variable Naming Standards - Datatypes

Variable Declaration prefix Standard :-

argument a
Global g
Instance i
Local l
Shared s

DataType prefix :-
VARIABLE TYPEPREFIXGLOBALINSTANCELOCAL
Anyaga_varnameia_varnamela_varname
Blobblbgblb_varnameiblb_varnamelblb_varname
Booleanbgb_varnameib_varnamelb_varname
Charactercgc_varnameic_varnamelc_varname
Datedgd_varnameid_varnameld_varname
DateTimedtgdt_varnameidt_varnameldt_varname
Decimaldecgdec_varnameidec_varnameldec_varname
Doubledbgdb_varnameidb_varnameldb_varname
Integerigi_varnameii_varnameli_varname
Longlgl_varnameil_varnamell_varname
Realrgr_varnameir_varnamelr_varname
Stringsgs_varnameis_varnamels_varname
Timetmgtm_varnameitm_varnameltm_varname
Unsigned Integeruigui_varnameiui_varnamelui_varname
Unsigned Longulgul_varnameiul_varnamelul_varname

No comments: