|
June 21, 2002 Delimiting the Main Code Tips: June 2002
Yehuda Shiran, Ph.D.
|
|
Most programming languages delimit the main program section with a keyword such as Main() or main(). JScript .NET (as well as JavaScript) is different. The main code in JScript .NET is not delimited in any way. You just write the code outside; before, after, or in between the class definitions. Here is an example that includes two class definitions followed by the main code section:
To learn more about JScript .NET, go to Column 111, JScript .NET, Part V: Polymorphism.
People who read this tip also read these tips: Look for similar tips by subject: |