Results 1 to 4 of 4

Thread: repeat needed

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Thankyou, I was so wrapped up in trying to get one wya to work that I didn't look at other options. I've also had barely any dealings with using char within the programs, it was touched on in the ascsii program butnothing since so i'm a little anxious about getting error messages and so on when the prog seems to be working.

    I added a 'yesNo' readln as you suggested with 'y' and 'n' being the appropriate answers. I think I'm missing something stupid or I might need to decalre them as true / false first as the program now continually repeats and doesn't distinguish between y/n or any other letter for that matter. The condition is repeat....blaaaaaa.....until yesNo = N; can you help any further? is it the true & false initialising that I need?

    3rd thread...lesson learnt....
    http://www.webdesignprofessionals.co.uk (any criticism is welcome!)

  2. #2

    sorted

    SOlved it, was loking at it wrong and making it more difficult than need be, Used your suggestion but changed it so 0 would exit and any other number would continue.

    Not as pretty but it works and it needs to be handset in tomorrow, happy days! thanks for the suggestion.
    http://www.webdesignprofessionals.co.uk (any criticism is welcome!)

Bookmarks

Posting Permissions

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