Originally Posted by
xirokx
I will sleep once this is nearly finished, trust me i will sleep alot better :)
to be totally honest and upfront with you, i dont know what it means....
if i had to take a guess i would say it was the way I had it before i.e. "students" but I would have called that an array wouldnt you?
Students is definitely an array. It is an array of type StudentType just as NameArray is an array of type String.
what do you make of it? "Improve the program, where the students’ names and marks are stored in a record, rather than arrays"
I can't read your instructor's mind. A record could be an entry in an array (of ANY type), an entry in a database, or an entry in a text file. If I were forced to choose I would say a database but don't go that way unless you've talked about them in class.
because one of my latter questions is to explain the characteristics of records and arrays, to which I would say, records allow the user to store mixed variables and arrays do not like in my program, student is string and mark is integer...
then a further question is: why in this program is it better to use a record instead of an array, to which I would answer because this program consists of mixed variables :)
Without knowing what a "record" is I can't say, but what you say is probably right.
so a record here is not something we are storing in a database, instead the two entities i.e. studentname and mark are being stored inside it, which IMO was the way I had it before...
but kind sir, what do you think as you are "the VB guru" and im a sleep deprived guy who cannot think straight and has until the other half comes in and drags me to bed not in a nice way....
so please do kindly advise the way you intrepret that especially knowing the latter questions...
the point of this is apparently to teach me arrays and records (without actually teaching me, if that makes any sense)
thank you so much, wish my grandad was like you
Thanks:)