September Morn Update

This commit is contained in:
Ingy döt Net 2019-09-12 10:33:56 -07:00
parent 4e2d22a71d
commit aac6731f2c
6856 changed files with 141342 additions and 21127 deletions

View file

@ -1,24 +1,22 @@
import system'dynamic.
import extensions.
import system'dynamic;
import extensions;
class TestClass
{
object theVariables.
object theVariables;
constructor new
[
theVariables := DynamicStruct new.
]
constructor()
{
theVariables := new DynamicStruct()
}
eval
[
subject varRef := Signature new literal:(console write:"Enter the variable name:"; readLine).
theVariables~varRef set:42.
closure()
{
auto varRef := new MessageName(console.write:"Enter the variable name:".readLine());
mixin varRef(theVariables).prop := 42;
var v := theVariables~varRef get.
console printLine(varRef literal,"=",theVariables~varRef get); readChar.
]
console.printLine(varRef.Printable,"=",mixin varRef(theVariables).get).readChar()
}
}
program = TestClass new.
public program = new TestClass();