Results 1 to 40 of 98

Thread: good old arrays

Hybrid View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2009
    Location
    North London
    Posts
    121

    Re: good old arrays

    thanks once again, i didnt think so,

    how about the following can you help me resolve these issues please:

    now my program consists of 2 arrays right? markarray and namearray ???

    going back to my other issue which was:

    "Improve the program, where the students’ names and marks are stored in a record, rather than arrays "

    do you understand what i need to do because im still a tad bit lost on that? please clarify.....

    do I now create a module and replace the arrays (name and mark) with what I used previously? i.e.

    Students(Element).StudentName = txtStudentName.Text
    Students(Element).StudentMark = txtStudentMark.Text

    this is what i think as "students" could be classed as 1 record - i kinda of think but am not 100% sure...

    whats your thoughts??

    thank you so much
    Last edited by xirokx; Apr 6th, 2010 at 09:51 PM.

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: good old arrays

    First of all I'll play Dad (or Granddad since I'm 69) here but you should get some sleep
    Quote Originally Posted by xirokx View Post
    thanks once again, i didnt think so,

    how about the following can you help me resolve these issues please:

    now my program consists of 2 arrays right? markarray and namearray ???
    Yes

    going back to my other issue which was:

    "Improve the program, where the students’ names and marks are stored in a record, rather than arrays "


    do you understand what i need to do because im still a tad bit lost on that? please clarify.....

    do I now create a module and replace the arrays (name and mark) with what I used previously? i.e.

    Students(Element).StudentName = txtStudentName.Text
    Students(Element).StudentMark = txtStudentMark.Text

    this is what i think...

    whats your thoughts??
    First you need to tell me what you mean by a record. If you mean something like an entry in the former Students array then yes you need the Students array but that doesn't have to be in a module. You now know how to create an array in the form, right?
    thank you so much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width