Error!
Success!

How to execute a set of statements in an expression

0
kicks

How to execute a set of statements in an expression  (Unpublished)

One of the most common problems with using Boo's Meta Methods is that they can only return expressions. This is not good if what you want to return from the meta method is a set of statements to be executed. The most common reason for that is to initialize a set of variables. Obviously, you can call a method that will do it for you, but there is a simpler way.


Kicked By:
Drop Kicked By: