Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by mrrd

  1. M

    Done INCLUDE statement

    I'll go for that
  2. M

    Done INCLUDE statement

    Yes that's the intent, but using the gosub .... keeps me from having a common error handler in the main.btm. If an error is generated in the subroutine it is not handled by the main error handler This I believe will solve the problem that I posted subj "ON ERRORLEVEL not being trapped" on...
  3. M

    Done INCLUDE statement

    Add an include statement. This will work similar to the include statement found in c++. ie INCLUDE "c:\Library\subs.btm" The include command tells tcc to treat the contents of a specified file as if those contents had appeared in the source batch at the point where the include appears. This...
  4. M

    ON ERRORLEVEL not being trapped

    Having a problem with ON ERRORLEVEL, I can't get it to work if the errorlevel is set when an external subroutine is called. I created 3 files to demonstrate 1) Main.btm 2) GenerateErrorLevel.btm 3) Sub.btm, Running Main.btm shows how the errorlevel is not generated at the sub level and gets...
Back
Top