by jberry@[EMAIL PROTECTED]
(Jonathan Berry)
May 4, 2006 at 10:15 AM
ARRAY is a reserved word. Try MYarray or something.
The FUNCTION = array thingie also looks strange to my
naive eyes. I thought you could only assign scalar values.
But I don't have PBWIN 8.
In article <pan.2006.05.04.16.52.56.683201@[EMAIL PROTECTED]
>,
Alen Hopek <alen.hopek@[EMAIL PROTECTED]
> wrote:
>Hello,
>
>sorry for such newbie question.
>
>I need to return a array as return value out of a function in PowerBasic
>v8.01
>
>Something like this:
>
>FUNCTION Test() AS LONG
> DIM array(1 to 20)
>
> array(0) = "Value1"
> array(1) = "Value2"
> array(2) = "Value3"
>
> REM Some other Job
>
> FUNCTION = array
>END FUNCTION
>
>This will not work.
>Has anyone some help for me ?
>
>Greetings
>Alen Hopek
--
happy
Jonathan Berry and Erika http://members.shaw.ca/berry5868/fun.htm