Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
|
|
@ -41,6 +41,6 @@ public program()
|
|||
{
|
||||
delegator.Delegate := o;
|
||||
|
||||
console.printLine(delegator.operate())
|
||||
Console.printLine(delegator.operate())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ class Operable
|
|||
|
||||
class Delegator
|
||||
{
|
||||
object Delegate : prop;
|
||||
object? Delegate : prop;
|
||||
|
||||
constructor()
|
||||
{
|
||||
|
|
@ -21,7 +21,7 @@ class Delegator
|
|||
operate()
|
||||
{
|
||||
// if the object does not support "Operable" message - returns nil
|
||||
var operable := Delegate.Operable \ back(nil);
|
||||
var operable := Delegate?.Operable \ back(nil);
|
||||
|
||||
if (nil == operable)
|
||||
{
|
||||
|
|
@ -42,6 +42,6 @@ public program()
|
|||
{
|
||||
delegator.Delegate := o;
|
||||
|
||||
console.printLine(delegator.operate())
|
||||
Console.printLine(delegator.operate())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue