Variable.st
changeset 0 7ad01559b262
child 3 b63b8a6b71fb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Variable.st	Fri Jul 16 11:38:57 1993 +0200
@@ -0,0 +1,58 @@
+"
+ COPYRIGHT (c) 1989-93 by Claus Gittinger
+              All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+"
+
+Object subclass:#Variable
+       instanceVariableNames:'value name used'
+       classVariableNames:   ''
+       poolDictionaries:''
+       category:'System-Compiler-Support'
+!
+
+Variable comment:'
+
+COPYRIGHT (c) 1989-92 by Claus Gittinger
+              All Rights Reserved
+
+%W% %E%
+'!
+
+!Variable class methodsFor:'instance creation'!
+
+name:name
+    ^ (self new) name:name
+! !
+
+!Variable methodsFor:'accessing'!
+
+value:v
+    value := v
+!
+
+name:aString
+    name := aString
+!
+
+name
+    ^ name
+!
+
+value
+    ^ value
+!
+
+used:aBoolean
+    used := aBoolean
+!
+
+used
+    ^ used
+! !