September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -1,10 +1,10 @@
|
|||
procedure main()
|
||||
|
||||
foo_m1() # equivalent of class method, not normally used
|
||||
bar := foo() # create instance
|
||||
bar.m2() # call method m2 with self=bar
|
||||
end
|
||||
bar.m2() # call method m2 with self=bar, an implicit first parameter
|
||||
|
||||
foo_m1( , "param1", "param2") # equivalent of static class method, first (self) parameter is null
|
||||
end
|
||||
|
||||
class foo(cp1,cp2)
|
||||
method m1(m1p1,m1p2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue