
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Release Notes - <b>166 new: code blocks</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
166 NEW: Code Blocks
--------------------------------------------------------------------------------
Code blocks have been added to Clipper 5.0 as a new data type.
Code blocks allow compiled code to be treated as data which
provides a capability similar to macros.
Like other data types, code blocks can be assigned to variables,
passed as arguments and returned from functions. Whenever desired,
a code block can be evaluated. This executes the code in the block
and returns its result.
A code block can also be declared with block parameters, which
behave like the formal parameters of a function or procedure.
Parameter values can then be supplied each time the block is
evaluated.
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson