Thread: Was ist falsch?
View Single Post
  #2 (permalink)  
Old 03-21-2008, 04:47 PM
maXim's Avatar
maXim maXim is offline
Senior Member
 
Join Date: May 2007
Location: Florence, Italy
Posts: 138
Send a message via MSN to maXim Send a message via Skype™ to maXim
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi Tazer,

this example works:

Sub Globals
' declare the global variables here.
Dim us(6) ' note the number of elements ( + 1)
Dim pc(6)
End Sub


Sub App_Start
Form1.Show
End Sub

Sub Button1_Click
For b = 0 To 5
us(b) = Rnd(0,50)
pc(b) = Rnd(0,50)
Next
End Sub

Best Regards,

Massimo

Sorry, I had not translated well in red writing that said it had resolved...

Last edited by maXim : 03-21-2008 at 04:53 PM.
Reply With Quote