Back: ExceptionSet-enumerating Up: Base classes Forward: False-basic   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.70 False

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

1.70.1 False: basic  (instance)
1.70.2 False: C hacks  (instance)
1.70.3 False: printing  (instance)


1.70.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


1.70.2 False: C hacks

asCBooleanValue
Answer `0'.


1.70.3 False: printing

printOn: aStream
Print a representation of the receiver on aStream



Back: False-C hacks Up: False Forward: File   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on May, 22 2008 using texi2html