Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Thread: Files and arrays

    by Norm
    Replies
    11
    Views
    810

    Re: Files and arrays

    Ok, glad you are making progress.
  2. Thread: Files and arrays

    by Norm
    Replies
    11
    Views
    810

    Re: Files and arrays

    Did you try renaming that variable so it had a new name and was not a duplicate?
  3. Thread: Files and arrays

    by Norm
    Replies
    11
    Views
    810

    Re: Files and arrays

    Change the name of the variable, say to i2 so there are two variables: i and i2.

    You need to copy and paste the full text of the error messages because they have important information that you are...
  4. Thread: Files and arrays

    by Norm
    Replies
    11
    Views
    810

    Re: Files and arrays

    Post the new code and describe the problems you are having.
  5. Thread: Files and arrays

    by Norm
    Replies
    11
    Views
    810

    Re: Files and arrays

    patientTimeRecords[i]++;

    That code increments the contents of the array indexed by i. It does NOT change the value of i.
    To increment i, move the ++ to next to the i: ...[i++]
Results 1 to 5 of 5