Back: Duration-storing Up: Base classes Forward: DynamicVariable class-evaluating   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.68 DynamicVariable

Defined in namespace Smalltalk
Superclass: Object
Category: Language-Utilities
I am a variable that is visible only in the stackframes outgoing from this one. Do not use DynamicVariable directly, instead create a subclass for each variable you want to use.

You can override the #value class method, and call #valueIfAbsent: from there if you want the default value to be something else than nil.

1.68.1 DynamicVariable class: evaluating  (class)


1.68.1 DynamicVariable class: evaluating

use: anObject during: aBlock
Not commented.

value
Not commented.

valueIfAbsent: aBlock
Not commented.



Back: DynamicVariable Up: DynamicVariable Forward: Error   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on April, 16 2013 using texi2html