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
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
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
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
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
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...@