Anyway...here are a few examples. :]

New ways to assign numeric values to the untyped variables of USL:

method getYear @year = this_year return @year end method julian_leap? @julian_leap? = (getYear%4) @ret_val = false if @julian_leap? = 0 @ret_val = true endif remove @julian_leap? return @ret_val end @is_leap? = julian_leap? say "Is this year a Julian leap year: \{@is_leap?}" @pi = 3.14 @r = 256 @c_sphere = (2*@pi*@r) @half_of_c = "(@c_sphere / 2)" say "Circumference of a sphere with a radius of \{@r}: \{@c_sphere}\]Half of the circumference: \{@half_of_c}" @r %= 4 if @r = 0 say "The radius is divisible by four." else say "This will never be seen." endif clear_all! say "All objects have been removed from memory.\]Leaving in 5 seconds..." delay 5 exit

I've updated the MediaWiki and you can find it under the "Hosted Apps" tab at the sourceforge link below.

To download 3.7.3, you can visit any of the following links:

sourceforge

freecode

## No comments:

## Post a Comment