// ObjectScript is a language for the Java VM that resembles a sort of // simplified JavaScript. The language is small and easy to learn, yet // powerful to utilize. It is licensed under LGPL. // // http://objectscript.sourceforge.net/ /** * This demonstrates how ObjectScript can distinguish a function as a class. * The code contained within that comes before the nested functions (treated * as class methods) is considered class constructor code. * * @author Christian Meurin * @version 1.0 */ public function BottlesOfBeer() extends Object { public const var BEERMAX = 99; public const var LOWBEER = 1; public var bee