2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -0,0 +1,25 @@
|
|||
#import system.
|
||||
#import system'dynamic.
|
||||
#import extensions.
|
||||
|
||||
#class TestClass
|
||||
{
|
||||
#field theVariables.
|
||||
|
||||
#constructor new
|
||||
[
|
||||
theVariables := DynamicStruct new.
|
||||
]
|
||||
|
||||
#method eval
|
||||
[
|
||||
#var(type:subject) varRef := Signature new &literal:(console write:"Enter the variable name:" readLine).
|
||||
theVariables::varRef set:42.
|
||||
|
||||
#var v := theVariables::varRef get.
|
||||
|
||||
console writeLine:(varRef name):"=":(theVariables::varRef get).
|
||||
]
|
||||
}
|
||||
|
||||
#symbol program = TestClass new.
|
||||
Loading…
Add table
Add a link
Reference in a new issue