|
-
Sep 25th, 2020, 06:56 PM
#10
Re: [RESOLVED] Problem with Color.FromName
Why declare colours(2) and chk(2)???
You’re only using 2 elements in both. You know arrays are zero based, but you need to declare arrays with the Upperbound and not the Length...
I.e. colours(1), chk(1)
Edit: That’s how to declare and dimension an array in VB. In C languages, you do use the array Length when declaring and dimensioning...
Last edited by .paul.; Sep 25th, 2020 at 07:18 PM.
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|