.What information is available about a Block?
The Block type has the following members:
| Array Parameters |
| Answer an Array of all of the parameters for this block |
| Object Value(...) |
| Answer the value of evaluating the block |
| Object WhileFalse(Block block) |
| Evaluate the given block and continue to evaluate it while it evaluates to true |
| Object WhileTrue(Block block) |
| Evaluate the given block and continue to evaluate it while it evaluates to true |
Arrays are general-purpose collections that hold any kind of object.
7/20/2007 10:02:31 PM - -10.10.192.236
Object is the root type in the WikiTalk language; almost all types inherit from Object
9/14/2007 2:00:49 PM - -74.15.242.151
Object is the root type in the WikiTalk language; almost all types inherit from Object
9/14/2007 2:00:49 PM - -74.15.242.151
Object is the root type in the WikiTalk language; almost all types inherit from Object
9/14/2007 2:00:49 PM - -74.15.242.151
Examples
Block parameters
{param1, param2 | value}.Parameters.Collect{each | [each, " Type=", each.Type.Name, Newline]}.ToOneString
BlockParameter Type=BlockParameter
BlockParameter Type=BlockParameter
{each | "Block Parameter Value"}.Value{each | each.Value}
Block Parameter Value
{a, b | a.Add(b)}.Value(3,4)
7
{adder | adder.Value(10)}.Value{x | x.Add(20)}
30
The wiki for all things Objective Design Solutions
This is FlexWiki, an open source wiki engine.
 |
| This site supports the new NoFollow anti-spam initiative. |
Recent Topics
background information about FlexWiki
8/19/2007 10:36:06 AM - -66.78.124.101
An extension to HTML that search engines use to ignore potential LinkSpam.
9/14/2007 2:05:50 PM - -74.15.242.151