Done Mutiple-line comamnd line input?

In TC Support, Jang wrote

---Quote---
Also I have not found any way to split the command group `set
inbox_directory=%_foldername & set inbox_file=%_folderfile1 & Call
"C:\Users\Gappe\Documents\TCC batfiles\Subtest.bat"`into several
lines amongst other for easier readability.
---End Quote---

And Rex answered:

---Quote---
Use a batch file!
---End Quote---

Hmmm, wouldn't it be possible to tell TC, if the last character on the
command line is a "&" or a "%+", to stay execution when receiving an
"Enter" and append the next line, so making true multiple line
commands possible?

I too feel this would be preferable to long lines with interspersed
"&".

Best regards,

* Klaus Meinhard *
<www.4dos.info>
 
May 20, 2008
9,898
71
Syracuse, NY, USA
On Fri, 10 Jun 2011 03:45:38 -0400, K_Meinhard <>
wrote:

|Hmmm, wouldn't it be possible to tell TC, if the last character on the
|command line is a "&" or a "%+", to stay execution when receiving an
|"Enter" and append the next line, so making true multiple line
|commands possible?
|
|I too feel this would be preferable to long lines with interspersed
|"&".

Code:
v:\> echo 1 &^
More? echo 2 &^
More? echo 3
1
2
3

v:\> do i=1 to 2 ( echo 1 &^
More? echo 2 )
1
2
1
2

v:\> (echo foo
More? echo bar)
foo
bar
 
May 20, 2008
9,898
71
Syracuse, NY, USA
Rex, can the user redefine the command line "More?" prompt? IIRC some UNIX shells allow that.

On Fri, 10 Jun 2011 03:45:38 -0400, K_Meinhard <>
wrote:

|Hmmm, wouldn't it be possible to tell TC, if the last character on the
|command line is a "&" or a "%+", to stay execution when receiving an
|"Enter" and append the next line, so making true multiple line
|commands possible?
|
|I too feel this would be preferable to long lines with interspersed
|"&".

Code:
v:\> echo 1 &^
More? echo 2 &^
More? echo 3
1
2
3

v:\> do i=1 to 2 ( echo 1 &^
More? echo 2 )
1
2
1
2

v:\> (echo foo
More? echo bar)
foo
bar
 

rconn

Administrator
Staff member
May 14, 2008
11,446
110
> Hmmm, wouldn't it be possible to tell TC, if the last character on the
> command line is a "&" or a "%+", to stay execution when receiving an
> "Enter" and append the next line, so making true multiple line
> commands possible?
I don't see the point, since TCC already does that if the last character on
the line is an escape character (^).