Treffer: and
Weitere Informationen
When developing server-side scripting using Microsoft’s Active Server Pages and their Internet Information Server (IIS), either VBScript or JScript are available. The language of choice for most developers is VBScript since it is closely akin to Visual Basic and Visual Basic for Applications. However, for those developers that are more familiar with Java and JavaScript, JScript is a comfortable alternative. The differences between VBScript and JScript lie primarily in the syntax and not in the functionality. The examples interact with an Oracle database: to connect to the database; create record sets; and adding, changing, and deleting records shows identical logic structure. Where the use of JScript rather than VBScript can become rather tedious is the scarcity of functions in JScript that are available in VBScript. The solution is to write comparable user-defined functions in JScript as demonstrated by the FormatCurrency function.