Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Rem StatementThis standard VB statement identifies a line of code as a comment in a Basic program. SyntaxReturnsUsageEverything from Rem to the end of the line is ignored when the program is executed. The single quote (') can also be used to initiate a comment. ExampleThis program is attached to a button on the Account Form applet that counts the number of corresponding child Contact records. Dim i as Integer Rem Test this from the Account Contacts View Rem GetBusComp here returns a reference set oBC = me.BusObject.GetBusComp("Contact") Rem FirstRecord positions you at the i = oBC.FirstRecord Rem Returns 0 if fails, 1 if succeeds else While i = 1 |
Siebel VB Language Reference |