PFC learning notes (3) naming conventions for PFC

Source: Internet
Author: User
I. object naming conventions

1. pfcobject_type_objectname

2. pfcobject indicates whether the object is a PFC layer or an extended layer.

3. type indicates the object type.

Prefix
Description
M _
Menu
N _
Standard user object
N_cst
Custom User objects
S _
Global Structure
U _
Visual user object
W _
Window

Ii. variable naming conventions

1. Standard for variable naming of PFC: <scope> <datatype> _ variablename

2. Scope conventions

Prefix
Description
A
Parameters passed to functions or events
G
Global Variables
I
Instance variables
L
Local variable
S
Shared variable

3. datatype conventions

Prefix
Description
Remarks
A
Any

BLB
Blob

B
Boolean

Ch
Character

D
Date

DTM
Datetime

DC decimal

DBL
Double

E
Enumerated

I
Intger

L
Long

R
Real

S
String

TM
Time

UI
Unsignedinteger

Ul
Unsignedlong

App
Application

AB
Arraybounds
Specifies the structure of the upper and lower bounds of the single dimension of the array, which is used in the variablecardinalitydefinition object.
Cbx
Checkbox

CB
Commandbutton

CD
Classdefinition
Objects that provide PowerBuilder object class definition Information
CDO
Classdefinitionobject

CN
Connection
Used to specify parameters for connecting to the middleware server
Cninfo
Connectioninfo
Structure used to store information about user objects connecting to server applications
CNO
Connectojbect

Cxk
Contextkeyword
Provides the environment information of the current context
Cxinfo
Contextinfomation
Provides information about the application running environment.
CPP
Cplusplus
???
DS
Datastore

DW
Datawindow

DWC
Datawindowchild

DSC
Dragobject

Drw
Drawobject

Ddplb
Dropdownpicturelistbox

Ddlb
Dropdownlistbox

Dwo
Dwobject

DDA
Dynamicdescriptionarea
It is used to store Input and Output Parameters of dynamic SQL statements in the fourth format.
DSA
Dynamicstagingarea
Used to store the SQL statements to be executed
Ed
Enumerationdefinition
Inherited from typedefinition to provide information about enumerated type variables
Eid
Enumerationitemdefinition
Lists the names and related information of enumerated data type values.
Em
Editmask

Env
Environment

Err
Error

EXT
Extobject
???
Gr
Graph

Go
Graphicobject

Grax
Graxis
Coordinate axes in various graph charts
Grda
Grdisparr
Defines the appearance attributes of text objects in a graph image.
GB
Groupbox

HSB
Horizontalscrollbar

Inet
Inet
Provides information on displaying web pages, accessing specified pages, and sending data in the default browser.
IR
Internetresult
As a high-speed buffer for receiving asynchronous data, data is returned by responding to geturl and posturl
Ln
Line

LB
ListBox

LV
Listview

LVI
Listviewitem

MDF
Mailfiledescription
Attachment File
Mm
Mailmessage
Data of specific mail messages
Mr
Mailrecipient
Contains the data of the email receiver.
MS
Mailsession
Used to mark and establish a mapi (messaging application program interface) session
MDI
Mdiclient
Area of the worksheet displayed in the standard MDI frame window
M
Menu

MC
Menucascade
Unlike the menu, the toolbar of the menucascade object is organized in the form of pull icon boxes below.
MSG
Message
Parameters are passed for non-predefined events, window opening/closing, and triggerevent/postevent functions.
MLE
Multilineedit

NV
Nonvisualobject

OC
Olecontrol

Oo
Oleobject

Ostg
Olestorage
Acts as a proxy for opening Ole Storage
OMC
Omcontrol
???
OMCC
Omcustumcontrol
???
Comec
Omembeddedcontrol
???
Oval
Oval
???
P
Picture

PB
Picturebutton

Pbcpp
Pbtocppobject
???
PLB
Picturelistbox

PL
Pipeline

Po
Powerobject
???
Procall
Profilecall
Call information in the Performance Analysis Model
Proclass
Profileclass
Class information in the Performance Analysis Model
Proln
Profileline
Information about rows of each program in the Performance Analysis Model
Prort
Profileroutine
Program Information in the Performance Analysis Model
Pro
Profiling
Used to analyze the performance of Pb applications
RB
Radiobutton

REC
Rectangle

Rem
Romoteobject
???
RTE
Richtextedit

Rrec
Roundrectangle

Rteo
Rteobject
???
Scrd
Scriptdefinition
Provides program code information related to the class definition.
Lupus
Singlelineedit

Srv
Service
???
St
Statictext

STD
Simpletypedefinition
Inherits from typedefinition and provides information about scalar types.
Str
Struction

Tab
Tab

Tagpg
Tabpage

Tcan
Traceactivitynode
Provide the information of the specified node in the trace file
Tcbe
Tracebeginend
Identify the start or end of node registration in the tracking File
Tcerr
Traceerror
Provides information in the trace file to identify system errors or warnings on nodes.
TCF
Tracefile
Access the trace file content created by PB programs
Tcln
Traceline
Provides information in the trace file that identifies code executed by nodes.
Tcgc
Tracegarbagecollect
Provides information in the tracking file to identify spam activities on nodes.
Tcsql
Tracesql
Provides information for identifying embedded SQL statements occurring on nodes in the tracking file.
TCT
Tracetree
Provides a list of tree models for all nodes registered in the trail file.
Tctn
Tracetreenode

Tcterr
Tracetreeerror

Tctsql
Tracetreesql

Tctgc
Tracetreegarbagecollect

Tctln
Tracetreeline

Tcto
Tracetreeobject

Tctrt
Tracetreeroutine

Tctu
Tracetreeuser

TD
Typedefinition

Tr
Transaction

TRP
Transport
Contains the parameters for processing client requests by Pb. Control communication between the client and the server
TV
Treeview

Uo
Userobject

Vrcd
Variablecardinalitydefiniton

VRD
Variabledefinition

VSB
Verticalscrollbar

Wo
Windowobject

W
Window

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.