|
-
February 15th, 2000, 09:53 PM
#1
Dynamic Arrays Homework & I need Help!
I have a problem with an Array & a module, Im not sure how to do this...
I have a form where Students can enter their name, & grades under columns Homework, the arrays created Average the scores
across for each student & down for each homework assignment.
Now the instructor has written: Note that cmdNewHomework_Click(), cmdNewStudent_Click(), and Form_Load() all contain the same
, long statement: ReDim Grades ( 0 To NumStudents - 1, 0 To NumHomeworks -1)
He wants us to Move this statement with calls to a new sub.
After doing this he wants us to have only one ReDim statement in the whole program, it should be executed when the form is loaded
into memory, and when the user clicks either the "New Student" or the "New Homework" command button.
Can anyone offer some suggestions on how to write this... I sure would appreciate..... Thanks
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
|