HomePage HomePage
JW Davidson JW Davidson

RSS feed for the TestJwd namespace

Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Local Search

History

8/31/2007 5:24:09 PM
-66.78.116.108
7/20/2007 10:06:17 PM
-10.10.192.236
List all versions List all versions
Boolean Demo
.

What information is available about a Boolean?

A Boolean type has the following members:

Object Equals(Object obj)
Determine whether this object is equal to another object
Object IfFalse(Block block)
If this object is false, evaluate the block and answer the result of the evaluation; otherwise answer null
Object IfFalseIfTrue(Block falseBlock, Block trueBlock)
If this object is false, evaluate the first block and answer the result; otherwise evaluate the other block and return the result
Object IfTrue(Block block)
If this object is true, evaluate the block and answer the result of the evaluation; otherwise answer null
Object IfTrueIfFalse(Block trueBlock, Block falseBlock)
If this object is true, evaluate the first block and answer the result; otherwise evaluate the other block and return the result
Object Not
Answer the logical reverse of this boolean (true for false; false for true)

Examples

 Topic version: @@topic.Version.IfNull {"'''latest'''"} Else {topic.Version}@@

Topic version: latest

Not logged in. Log in

The wiki for all things Objective Design Solutions

Recent Topics
BooleanDemo BooleanDemo
List all versions List all versions
Go to Google.com
Change Style
Powered by Flexwiki v2.0.0.218