Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > About Siebel Visual Basic > Siebel VB and Other Versions of Visual Basic Programming Languages > Differences Between Siebel VB and Earlier Versions of Visual BasicSiebel VB is similar to a high level language, such as the C programming language or Pascal. This topic describes some of the differences you might notice between older versions of Visual Basic and Siebel VB. Line Numbers and LabelsOlder versions of Visual Basic require numbers at the beginning of every line. More recent versions do not support or require line numbers. Use of line numbers causes error messages. You can use a label to reference a line of code. A label can be any combination of text and numbers. Typically it is a single word followed by a colon, and placed at the beginning of a line of code. The Go To statement uses these labels. Subroutines and ModularityBecause Siebel VB is a modular language, it divides code into subroutines and functions. To perform actions, the subroutines and functions you write use Siebel VB statements and functions. How Declaring a Variable Affects Variable ScopeTable 3 describes how you declare a variable affects variable scope. Data TypesSiebel VB is a typed language. It includes multiple data types, such as strings, numbers, variants, and arrays. A variable that you define as a variant can store any type of data. For example, the same variable can hold integers or strings, depending on the code. Objects allow you to manipulate complex data that an application supplies, such as Microsoft Windows forms, or COM objects. For more information, see About Data Types. Financial MethodsSiebel VB includes financial methods that you can use to configure Siebel CRM to do a calculation. For example, to calculate a loan payment, an internal rate of return, or a future value according to a cash flow. For more information, see Financial Methods. Date and Time MethodsDate and time methods can compare a file date to the current date, set the current date and time, time events, and do scheduling. For more information, see Date and Time Methods. Methods to Access Other ApplicationsMicrosoft Windows uses the Common Object Model (COM) standard to allow an application to access the functionality of another application. An object might be the end product of a software application. For example, a document from a word processing application. The Object data type allows Siebel VB to access another software application through these objects, and then modifies them. For more information, see COM Methods. Environment ControlSiebel VB can call another software application and send keystrokes to the application. It can also run code and return values in the operating system environment table. |
Siebel VB Language Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |