20b6c9b476
some extra tests in the process
13 lines
230 B
Scilab
13 lines
230 B
Scilab
int self.length( ref x )
|
|
length
|
|
end
|
|
-- -- --
|
|
s(:expressions,
|
|
s(:function, :int,
|
|
s(:name, :length),
|
|
s(:parameters,
|
|
s(:parameter, :ref, :x)),
|
|
s(:expressions,
|
|
s(:name, :length)),
|
|
s(:receiver, :self)))
|