Hi Eros
in this recent
thread while reading Petr answer
i have tried this example :
Uses "console"
Dim a(10) As Long
a(4)=2,4,6,8,5,6,3,2
PrintL a(1)
PrintL a(4)
PrintL a(5)
WaitKey
this will output 0, 2, 4 as expected, without freezing.
but suppose i forgot to specify long type in dim a(10)
the program print the correct answer but hange
and the hanging are only from a(4), a(5), and up.
but it does not hang when we write
a(1)=2,4,6,8,5,6,3,2
or a(2)=2,4,6,8,5,6,3,2
or a(3)=2,4,6,8,5,6,3,2
if we reduce the items like
a(4)=2,4,6,8,5 it will not hang