Welcome!

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

SignUp Now!

Is IDE forbidden in TCSTART.BTM ?

Sep
134
1
I get an endless loop if I try to run a
IDE D:\JPSoft\Common\JPStart.BTM
I must stop Windows with logoff.
The same result I get if I try it with an not existant file, e.g
IDE D:\JPSoft\Common\HelloWorld.BTM
I've nothing found in the Helpfile documentation about this.
 
I get an endless loop if I try to run a
IDE D:\JPSoft\Common\JPStart.BTM
I must stop Windows with logoff.
The same result I get if I try it with an not existant file, e.g
IDE D:\JPSoft\Common\HelloWorld.BTM
I've nothing found in the Helpfile documentation about this.

On my system, IDE C:\BIN\TCMD14\TCSTART.BTM opens the file as expected; IDE NONESUCH.BTM gives a file-not-found message.

What version are you using?
 
I gather by the title of this thread that you are attempting to start IDE from within your TCSTART.BTM file. I have a vague recollection that IDE/BDEBUGGER does the normal TCC startup stuff - i.e. it runs TCSTART.

The first line of my TCSTART.btm file is:
Code:
if %_pipe != 0 .or. %_transient != 0 .or. %_ide != 0 quit

Try adding that and see if it helps any.
-Scott
 
@Scott: Many thanks for this line of code Scott, it has help ! :)
It seems, that the line
Code:
IF %_SHELLS  NE 0 QUIT
I've introduced before is not enough, to catch a second call.
Since the first days of using 4DOS/4OS/4NT/TCC the first line in my 4START/TCStart.BTM was:
Code:
Echo Hallo hier ist :%0: mit !%_CMDPROC! in %@INC[%_SHELLS]. Instanz
It was very interesting, how often 4NT/TC started a secondary shell :D
I've switched last week to Version 14 of TC (from V8 4NT !) and I think, that
I must still fight many battles, till I have transfered my "old" concepts to it :p
 

Similar threads

Back
Top