Page 1 of 1

pb4.30 - strange procedure decloration

Posted: Wed Dec 17, 2008 6:42 am
by Inner
Error: Line 12 - in included file '/mnt/media/Projects/rainbowplayer/includes/io.pb'
Line 12 - Syntax error in the procedure arguments.

Code: Select all

Procedure SearchDirectory(dir$,yourLinkedList.s(),pattern$="",recursive=1)
This worked pre-final, is there something I'm doing wrong?

Posted: Wed Dec 17, 2008 9:14 am
by Inner

Code: Select all

Newlist mylist.s()

Procedure Test(thislist.s())
EndProcedure

Test(mylist())
Okay not so strange seams we can't at the moment pass list types in this way to procedures, although oddly this worked in betas.

Posted: Wed Dec 17, 2008 10:08 am
by IceSoft
Inner wrote:

Code: Select all

Newlist mylist.s()

Procedure Test(thislist.s())
EndProcedure

Test(mylist())
Okay not so strange seams we can't at the moment pass list types in this way to procedures, although oddly this worked in betas.
Correct is:
Procedure Test(List thislist.s())

Posted: Wed Dec 17, 2008 10:19 am
by Inner
IceSoft wrote:
Inner wrote:

Code: Select all

Newlist mylist.s()

Procedure Test(thislist.s())
EndProcedure

Test(mylist())
Okay not so strange seams we can't at the moment pass list types in this way to procedures, although oddly this worked in betas.
Correct is:
Procedure Test(List thislist.s())
ahh so it's been changed :)