Data update

This commit is contained in:
Ingy döt Net 2023-08-01 14:30:30 -07:00
parent 07c7092a52
commit 61b93a2cd1
313 changed files with 6160 additions and 346 deletions

View file

@ -2,24 +2,24 @@ import extensions;
class Extender : BaseExtender
{
prop object foo;
object foo : prop;
constructor(object)
{
theObject := object
}
constructor(object)
{
this object := object
}
}
public program()
{
var object := 234;
var object := 234;
// extending an object with a field
object := new Extender(object);
// extending an object with a field
object := new Extender(object);
object.foo := "bar";
object.foo := "bar";
console.printLine(object,".foo=",object.foo);
console.printLine(object,".foo=",object.foo);
console.readChar()
console.readChar()
}