![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I guess a basic program ECHOGUY could tclread and crt his command line args minus the quote marks} but this seems needlessly hard. |
#3
| |||
| |||
|
|
PROC Should have died a long time ago, so I would likely rewrite it in BASIC, but if you must keep your PROC in tact, that is easy enough as well. Create a BASIC program using PROCREAD AND PROCWRITE statements to pick up the original buffer, strip the quotes, then write it out again. It's also nice that this approach can be used on all platforms. |
#4
| ||||
| ||||
|
|
Ah, but procread/procwrite is a blunt tool -- it reads/writes ALL the buffers |
|
So your prog would work nicely aside from nuking my other buffers. |
|
I hate Proc less when I have to stop and write a basic program to recreate some minor feature of Proc, like remarks lines that don't trash your active select list the way REM does in Proc, |
|
or aborting program launch if a select list is unexpectedly absent |
#5
| |||
| |||
|
|
Frank Winans said: I hate Proc less when I have to stop and write a basic program to recreate some minor feature of Proc, like remarks lines that don't trash your active select list the way REM does in Proc, I was unaware of this REM problem. I've always used "C" for comment lines in Proc. No select list problems. I.e. 001 C ** This is my comment - Asterisks not required 002 C This is another comment or aborting program launch if a select list is unexpectedly absent Checking error "E" codes can avoid this problem. |
#6
| |||
| |||
|
|
It is easy enough within BASIC to manipulate the buffer that you wish as it is just a delimited string. It wouldn't nuke anything. *You can parse and rebuild the output buffer any way that you wish. *The real problem that you are going to have is that, without any quotes, PROC will look at buffers as being delimited by spaces. So, while 'HELLO THERE' fits into a single buffer, HELLO THERE without quotes requires two buffers. *Perhaps that's what you meant about my original program nuking buffers when it stripped the quotes? |
#7
| |||
| |||
|
|
"Frank Winans" said: or aborting program launch if a select list is unexpectedly absent Checking error "E" codes can avoid this problem. Yeah, or noticing system(11) is zero would show SELECT failed. |
![]() |
| Thread Tools | |
| Display Modes | |
| |