confused passing array to a function
Posted: Thu May 11, 2017 4:28 pm
When you pass a single dimension array to a function, it is OK.
Now i intend to code a function dealing with a multi dimension one.
dim pilcarmar(18)
dim tascarmar(18,2)
.
.
.
call splitpile(pilcarmar,tascarmar)
.
.
.
def splitpile(pilori(),pilspl())
end def
I receive the error message : Wrong number of arguments using array "PILSPL"
Is it even correct to deal with a multi dimension array parameter ?
Now i intend to code a function dealing with a multi dimension one.
dim pilcarmar(18)
dim tascarmar(18,2)
.
.
.
call splitpile(pilcarmar,tascarmar)
.
.
.
def splitpile(pilori(),pilspl())
end def
I receive the error message : Wrong number of arguments using array "PILSPL"
Is it even correct to deal with a multi dimension array parameter ?