[api-dev] Re: Custom types drives me nuts – this can't be happening… can it?

2011-08-17 Thread Andrew Douglas Pitonyak
Oh my goodness! It is always something small that wastes hours of time. On 08/15/2011 08:48 AM, Johnny Rosenberg wrote: Okej, forget this, I solved it. Immediately after I sent this I found the problem! All I needed to do to find it out was probably to write about it somewhere… I found the prob

[api-dev] ReDim driving me crazy again…

2011-08-17 Thread Johnny Rosenberg
I edited a lot of code yesterday, one of the rows I did NOT edit was this one, which occurs at the top of a subroutine: ReDim NDice(1 To 6) As Integer It is defined in another module as: Public NDice(1 To 6) As Integer The error message I get is (translated from Swedish): ”BASIC syntax error: T

[api-dev] Re: ReDim driving me crazy again…

2011-08-17 Thread Johnny Rosenberg
2011/8/17 Johnny Rosenberg : > I edited a lot of code yesterday, one of the rows I did NOT edit was > this one, which occurs at the top of a subroutine: > > ReDim NDice(1 To 6) As Integer > > It is defined in another module as: > Public NDice(1 To 6) As Integer > > > The error message I get is (tra

[api-dev] Re: ReDim driving me crazy again…

2011-08-17 Thread Johnny Rosenberg
2011/8/17 Johnny Rosenberg : > 2011/8/17 Johnny Rosenberg : >> I edited a lot of code yesterday, one of the rows I did NOT edit was >> this one, which occurs at the top of a subroutine: >> >> ReDim NDice(1 To 6) As Integer >> >> It is defined in another module as: >> Public NDice(1 To 6) As Integer

[api-dev] Re: ReDim driving me crazy again…

2011-08-17 Thread Johnny Rosenberg
So here I am again, having fun by sending messages to myself… 2011/8/17 Johnny Rosenberg : > 2011/8/17 Johnny Rosenberg : >> 2011/8/17 Johnny Rosenberg : >>> I edited a lot of code yesterday, one of the rows I did NOT edit was >>> this one, which occurs at the top of a subroutine: >>> >>> ReDim ND

[api-dev] Re: ReDim driving me crazy again…

2011-08-17 Thread Laurent Godard
HI from my poor experience if I want to use redim, i have to define the array as dynamic may be try this public NDice() as integer sub main redim NDice(1 to 6) end sub Laurent -- - To unsubscribe send email to dev-unsubscr...@