Back: ExceptionSet-enumerating
Up: Class reference
Forward: False-basic
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

6.65 False

Defined in namespace Smalltalk
Category: Language-Data types
I always tell lies. I have a single instance in the system, which represents the value false.

6.65.1 False: basic  (instance)
6.65.2 False: C hacks  (instance)
6.65.3 False: printing  (instance)


6.65.1 False: basic

& aBoolean
We are false -- anded with anything, we always answer false

and: aBlock
We are false -- anded with anything, we always answer false

eqv: aBoolean
Answer whether the receiver and aBoolean represent the same boolean value

ifFalse: falseBlock
We are false -- evaluate the falseBlock

ifFalse: falseBlock ifTrue: trueBlock
We are false -- evaluate the falseBlock

ifTrue: trueBlock
We are false -- answer nil

ifTrue: trueBlock ifFalse: falseBlock
We are false -- evaluate the falseBlock

not
We are false -- answer true

or: aBlock
We are false -- ored with anything, we always answer the other operand, so evaluate aBlock

xor: aBoolean
Answer whether the receiver and aBoolean represent different boolean values

| aBoolean
We are false -- ored with anything, we always answer the other operand


6.65.2 False: C hacks

asCBooleanValue
Answer `0'.


6.65.3 False: printing

printOn: aStream
Print a representation of the receiver on aStream




This document was generated on May, 12 2002 using texi2html