Is IDE forbidden in TCSTART.BTM ?

#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.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,509
46
Albuquerque, NM
prospero.unm.edu
#2
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?
 

samintz

Scott Mintz
May 20, 2008
1,245
11
Solon, OH, USA
#3
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
 
#5
@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