Why do I get this error?
Dec 22, 2008 18:07:02 GMT -5
Post by laurent on Dec 22, 2008 18:07:02 GMT -5
Hi! I get an error with this code:
dim choice$(2)
choice$(1)="choice1"
choice$(2)="choice2"
call displaytest
wait
sub displaytest
listbox #mylist, choice$(), 1
end sub
If I code like this, it doesn't appear:
dim choice$(2)
choice$(1)="choice1"
choice$(2)="choice2"
listbox #mylist, choice$(), 1
wait
Why my listbox command doesn't work in the subroutine?
(sorry about my English, I'm French ;D)
dim choice$(2)
choice$(1)="choice1"
choice$(2)="choice2"
call displaytest
wait
sub displaytest
listbox #mylist, choice$(), 1
end sub
If I code like this, it doesn't appear:
dim choice$(2)
choice$(1)="choice1"
choice$(2)="choice2"
listbox #mylist, choice$(), 1
wait
Why my listbox command doesn't work in the subroutine?
(sorry about my English, I'm French ;D)