Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Name: lee123abc
can this be done guys? I need to dimension an mbepoint (point) with an integer (counter) on the end.
sub main
dim datapoint as mbepoint
dim counter as integer
dim point(counter) as mbepoint
dim lastcount as integer
counter=0begin_loop:
counter=counter+1
mbegetinput mbe_datapointinput, MBE_ResetInputif mbestate.inputtype = mbe_resetinput then
goto end_loop
end ifif mbestate.inputtype = mbe_datapointinput then
point(counter)=datapoint
end ifgoto begin_loop
end_loop:
lastcount=countermbesendreset
mbesendkeyin "choose element"end sub

ok incase anyone ever needs the info... what I should have done was dim the point as an array...
dim point(1 to 99999) as mbepoint
then use a simple loop to create a counter....
loop1:
count = count + 1
point(count)= etc etc etc...Cheers

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |