Sunday, August 14, 2011

USL 3.6.3

In this release I have added the ability to assign public and private members to objects.  Previously all members of an object were passed on via inheritance.  Now you can be specific with what is inherited.

I have also added the ability to break loop flow.  This is a feature that I have been working on for awhile.

Here is an example of breaking the loop flow with the "leave!" command:
for 1 < 15
        @a += "${$}, "
        if "${$}" == 5
                leave!
        endif
endfor

say @a                   # 1, 2, 3, 4, 5, 

The public and private keywords are used similarly as in C++ but without the colon. Just as in C++, they can be used as many times as you need and wherever you need.

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

sourceforge
freecode

No comments:

Post a Comment