This method of identifying constants is still possible, but you can also choose a different scenario and create a true constant with the Const statement. This convention uses a mixed-case format and is prefixed with "con" as a constant name. For example:
Conyourownconstant
Variable Naming conventions
To improve readability and consistency, use the following variable naming conventions in VBScript code:
Sub-type Prefix example
Boolean bln BlnFound
Byte byt Bytrasterdata
Date (time)
elephant species
Yes, like a former 綴.
Cases
DBEngine
DBe
Dbejet
Workspace
wsp
Wspmain
Database
Db
Dbbiblio
TableDef
tbd
Tbdcustomers
QueryDef
Qry
Qryalltitle
Recordset
Rec
Rectitles
Field
Fld
Fldname
4. ADO naming convention
For the elephant species
Yes, like a former 綴.
Cases
Connection
Cnn
Cnnoracle
Command
Cmd
Cmdgettitle
Recordset
Rst
Rsttitles
Parameter
Prm
Prmisbn
Field
Fld
Fldcity
5.
Company Software Department VB Group code writing Interim Agreement probezy (paste)
SOURCE http://www.vbprobe.com
One, variables and objects
The variables in the program follow the Hungarian notation, "prefix + variable meaning", the meaning of the variable is one or more English words, the first letter of each word capitalized, do not use Hanyu Pinyin instead. The variable prefix is three lowercase letters indicating its type, and the prefix you need to add follows Microsoft's recommendatio
" + col );
}
For (int row = 1; row Vector vr1 = new Vector ();
For (int col = 1; col Vr1.addElement (row + "/" + col );
}
Vrow. addElement (vr1 );
}
DefaultTableModel dtm = new DefaultTableModel (vrow, vcol );
JTable1 = new JTable (vrow, vcol );
JTable1.setAutoResizeMode (JTable. AUTO_RESIZE_OFF); // Set the left and right rollback of the scroll bar.
This. jScrollPane1.getViewport (). add (jTable1, null); // add the table to the scroll bar.
}
Catch (E
repaint its contents.Symbolic constants specify collections, which are predefined by the system, and many messages are prefixed:
Prefix
Message category
ABM
Application Desktop Toolbar
Bm
Button Control
Cb
Combo Box control
CBEM
Extended combo Box control
Cdm
Common dialog box
Dbt
Device
Dl
Drag list Box
Dm
Default push Button
the current class.In addition to the above modifiers, you can also use static (static) and readonly (read-only)3. Naming conventionsVariable and method parameter naming: Variable description According to different data type prefix + First letter capitalization
Type
Prefix
Example
Array
Arr
Arrshoppinglist
Boolean
bln
Blnispostback
Byte
Byt
Bytpixelvalue
Char
Chr
Chrdelimiter
According to different data type prefix + First letter capitalizationRelated to variable naming
Type
Prefix
Example
Array
Arr
Arrshoppinglist
Boolean
bln
Blnispostback
Byte
Byt
Bytpixelvalue
Char
Chr
Chrdelimiter
Datetime
Dtm
Dtmstartdate
Decimal
Dec
Decaverageheight
Doub
handleThe Onhandle function is defined as follows:private void Onhandle (Socket clisocket) {Devicetokenmanager DTM = Apnsstubcontroller.getdevicetokenmanager ();DataInputStream dis = new DataInputStream (Clisocket.getinputstream ()); int ch = 0; while (ch = dis.read ())! =-1) {ivresult5 ). Blacklist introduction and Interface Definitionspecified by an external blacklist filepublic class Devicetokenmanager {//Initialize public void init (Propertie
1. Put options in the reciprocating box (added according to the database)(1) First, the default Item1234 in attribute->model is emptied(2) Get the data in the database and put it in.Selectcourseview scv=NewSelectcourseview (); intSelectindex=-1; Syscoursedao SCD=NewSyscoursedaoimpl (); ListScd.queryallcourse ();Get a table that holds the view, and then put inAdd excuses to your DAO package to get all the course names PublicTeascoreframe () {initcomponents (); INITDEP (); This method must
Definition: A set of rules, standards, or conventions established by a network protocol for data exchange in a computer network.Features: Semantics, syntax, timing.Hierarchy: The application layer (application layer) presentation layer (Presentation layer) session Layer Transport layer (Transport layer) network layer Layer) Data Link Layer physical layer (Physics layer)Common protocols: TCP/ipnetbeuiipx/spxDivision: Physical Layer: Ethernet/Modem/powerline communication (PLC) · SONET/SDH g.709 •
Transfer mode) Asynchronous transfer method, based on circuit switching and packet switching on the basis of a connection-oriented fast packet switching technology. "Async" means "asynchronously inserting" an ATM cell into a synchronous SDH bitstream. If the synchronization is inserted, the time slot occupied by the user in each frame is fixed in relative position. "Synchronization" means that the bitstream on each link in the network is controlled by the same very precise master clock. Wi-Fi,
, Manufacturers do not support buyers in the development of independent materials and printing process improvement."The vast majority of 3D printing equipment manufacturers are like iOS systems, and Farsoon is going to do it in the 3D printing industry Android System . Only the control system open source, can attract more people, more enterprises, more industry to participate in the development of 3D printing industry. Dr. Xu Xiaoshu, chairman of Farsoon Hi-Tech, has served as the technical dire
the Network Processor configuration, but Single-device configuration. And I checked the HCI layer-related APIs to discover APIs that send and receive data in DTM mode, such asextern hcistatus_t Hci_le_transmittertestcmd (uint8 txfreq, uint8 datalen, uint8 pktpayload);extern hcistatus_t Hci_le_receivertestcmd (uint8 rxfreq);extern hcistatus_t hci_le_testendcmd (void);So I directly use these APIs, but finally found that if the two board for testing, ho
A recent project was developed by delphi, where data tables are used in many areas. This function can be easily implemented in delphi and vb. java does notThis function is provided, but can be implemented using Jtable, but it is a bit of trouble :).The following is a simple data table program code that I implemented using applet.Package com. applet. cat10;Import java. awt .*;Import java. awt. event .*;Import java. applet .*;Import javax. swing .*;Import com. util .*;Import java. util .*;Import j
-Application Development Automation" below
Olympus (SQL server centric. Net code generator)
Llblgen-solutions design
. Net N-tier framework generator-Gavin Joyce
Entity broker-thona Consulting
Kickstarter. net
Tierdeveloper-alachisoft
SP/invoke
Data tier modeler (DTM)
Pragmatier data tier Builder
Orm. Net-olero Software
. Net persistence-netica
Objectspaces-Microsoft
Sisyphus persistence framework
Obje
constants is still feasible, but you can choose other schemes to use the Const statement to create true constants. ThisConventions use case-insensitive format and use "con" as the prefix of the constant name. For example:
ConYourOwnConstant
Variable naming conventions
For easier reading and consistency, use the following variable naming conventions in VBScript code:
Subtype prefix exampleBoolean bln blnFoundByte byt bytRasterDataDate (Time) dtm dtmSt
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.