PowerBuilder program code specification

xiaoxiao2021-03-05  23

(Repost ------ Out-of-the-program base) 1.1.1 Global variable naming specification global variables with G, close to type underscore variable function name, specific rules, such as the following BLOB GBLB_ function name INTEGER OR INT GI_ Funitive name Boolean GB_ function name long gi_ function name char gc_ function name character name changed_Function name Date GD_ function name String GS_ function name DateTime GDT_ function name Time GT_ function name Decimal GR_ Function name DEC GR_ function name unsignedinteger gUI_ function name UNSignedint GUI_ function name uint GUI_ function name Double GR_ function name unsignedlong GUI_ function name ULONG GUI_ function name object variable GO_ function name or g object abbot _ function name 1.1.2 Local variable naming specification global variables with l, close-to type underscore variable function name, specific rules, such as the following blob lblb_ function name Integer or int li_ function name Boolean LB_ function name long li_ function name char LC _Funit Name CHARACTER LC_Funit Name Real LR_ function name Date LD_ function name String LS_ function name DateTime LDT_ function name Time LT_ function name Decimal LR_ function name DEC LR_ function name UNSIGNEDINTEGER Lui_ function name unsignedint Lui _Funa UINT Lui_ function name Double LR_ function name unsignedlong Lui_ function name Ulong Lui_ function name object variable LO_ function name or L object shorthand _ function name 1.1.3 instance variable naming specification global variable with i start, tight Type Underline Variable Function Name, Specific Rule, BLOB IBLB_Funit Name Integer Or Int II_ Function Name Boolean IB_ Features LONG II_ Features CHAR IC_Function Name Character IC_Function Name Real IR_ function name Date ID_ function name string IS_ function name DateTime IDT_ function name TIME IT_ function name DEC IMAL IR_ function name DEC IR_ function name unsignedinteger iUI_ function name unsignedint iUI_ function name UINT IUI_ function name Double IR_ function name unsignedlong iUI_ function name Ulong iUI_ function name object variable IO_ function name or I object abbinder _Funa 1.1.4 Function and Event Parameter Name Specification Global Variable Takes the Type of Type Underline Variable Function Name, Specific Rule, Rule, BLOB ABLB_Function Name Integer Or Int Ai_ function name Boolean AB_ function name Long ai _Funname char ac_ function name character AC_ function name real ar_ function name Date Ad_ function name string as_ function name DateTime ADT_ function name Time AT_ function name Decimal AR_ function name DEC AR_ function name unsignedinteger aui _Funa UNSignedint AUI_ Function Name UINT AUI_ Function Name Double AR_ Features Ulong AUI_ Function Name Object Variable AO_ Function Name or A Object Shorthand_Function Name 1.1.5 Window, Function, Inheritance Object Naming Specifications Window Named Specification: W_ Module Name_Funa Name Function Name Specification: F_ Module Name_Function Name Tolerant Object Naming Specifications: UO_ Module Name_Funa DataWindow Object Naming Specification:

转载请注明原文地址:https://www.9cbs.com/read-32536.html

New Post(0)