Return to Snippet

Revision: 10159
at December 10, 2008 14:58 by mordecaix7

Initial Code
public class BuddyClass
    public shared Age as integer = 99

    public shared function IsAlive() as boolean
       return true
    end function
end Class

can use this class like this:

no need to do:
new BuddyClass

Initial URL

Initial Description
Use this method to create a class that doesn't need to be declared new to return properties

Initial Title
Shared Class With No Need for New Instances

Initial Tags

Initial Language