Loading ...
Sorry, an error occurred while loading the content.

AW: [libertybasic] RESUME Command

Expand Messages
  • Stefan Pendl
    Message 1 of 2 , Jan 2, 2007
    • 0 Attachment
      >
      > I'm new to LB but have programmed a fair amount in qbasic.
      > In LB does the RESUME command have an equivalent to the
      > RESUME NEXT in qbasic.
      > What is the best way to handle a situation where the program
      > needs to ignore the error, and continue with the next line of code?
      >

      Sorry, but there is no equivalent to RESUME NEXT :-(

      It depends on the error you get, for example I have one program, where I
      trap the invalid file handle error by opening a dummy file to be able to
      close it after RESUME.

      ---
      Stefan Pendl



      ___________________________________________________________
      Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
    Your message has been successfully submitted and would be delivered to recipients shortly.