Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

12/19/2007 9:54:35 PM
-66.245.0.168
12/19/2007 9:54:21 PM
-66.245.0.168
12/19/2007 9:53:57 PM
-66.245.0.168
10/26/2006 12:32:57 PM
-128.227.155.55
3/11/2006 8:31:58 PM
Herby-195.91.54.81
List all versions List all versions

RSS feed for the FlexWiki namespace

Block Demo
.

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

Examples

Block parameters

 {a, b | a.Add(b)}.Value(3,4)
7
 {adder | adder.Value(10)}.Value{x | x.Add(20)}
30
Warning
 {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
Not logged in. Log in

Welcome to the home of FlexWiki, an experimental collaboration tool, based on WikiWiki.

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics