Find the answer to your Linux question:
Results 1 to 3 of 3
what is the difference b/w for and while loops ? they always seems to work same to me.. is there a situation when one can be used and not other??????...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2003
    Location
    Wah Cantt, Pakistan.
    Posts
    8

    differnce in for and while loop


    what is the difference b/w for and while loops ? they always seems to work same to me.. is there a situation when one can be used and not other??????

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I posted an answer in the other thread that you asked this.

  3. #3
    Just Joined!
    Join Date
    Feb 2003
    Location
    Wah Cantt, Pakistan.
    Posts
    8
    sorry if i caused any misconvenience

  4. $spacer_open
    $spacer_close

Posting Permissions

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