Example MsgBox(10 Mod 3) (Jboss hosting) ‘ returns 1 Module…End
Example MsgBox(10 Mod 3) ‘ returns 1 Module…End Module Statement Syntax accessmodifier Module modulename ‘ statements End Module accessmodifier Use: Optional Type: Keyword One of the following keywords determine the visibility of the module: Public Makes the module visible to all applications Friend Makes the module visible throughout the project modulename Use: Required Type: String literal The name of the code module Description Defines a code block as a code module Rules at a Glance If accessmodifier is omitted, the module is Public by default. modulename follows standard Visual Basic naming conventions and must be unique within its assembly. statements can consist of the following: o Constant and variable definitions o Function and procedure definitions Programming Tips and Gotchas Internally, code modules are implemented as classes. Their public variables are treated as static fields, and their public functions and procedures are treated as static (shared) methods.
Hint: This post is supported by Gama php5 hosting services