Re: [ql-users] Sbasic and macro substitutions

2003-02-20 Thread Phoebus Dokos
On Thu, 20 Feb 2003 10:01:28 +0100, François Van Emelen [EMAIL PROTECTED] wrote: Marcel Kilgus wrote: Any suggestions? What about this quickmoderately dirty approach of employing the existing SBasic parser? 100 r$= '(' 110 l$ = ')' 120 f$ = 'UPPER$' 130 v$ = 'ql-smsq' 140 c$ = f$ r$

Re: [ql-users] Sbasic and macro substitutions

2003-02-20 Thread wlenerz
On 20 Feb 2003 at 10:01, François Van Emelen wrote: Hi Marcel, Thank you for your answer. Wouldn't there be a problem when your Eval$(e$)function is used 1000s of times? Isn't there a limit to the number of times a channel can be opened and closed in a program? François Van Emelen No,

Re: [ql-users] Sbasic and macro substitutions

2003-02-20 Thread Franois Van Emelen
Hi Phoebus, Phoebus Dokos wrote: On Thu, 20 Feb 2003 10:01:28 +0100, François Van Emelen snip Wouldn't there be a problem when your Eval$(e$)function is used 1000s of times? Isn't there a limit to the number of times a channel can be opened and closed in a program? I don't see why...

Re: [ql-users] Sbasic and macro substitutions

2003-02-20 Thread wlenerz
On 20 Feb 2003 at 10:42, [EMAIL PROTECTED] wrote: DEFine FuNction val$ (command$,parameter$) Oops I don't know why that was sent - Marcel has already posted this solution. Sorry. Wolfgang

Re: [ql-users] Sbasic and macro substitutions

2003-02-20 Thread Phoebus Dokos
On Thu, 20 Feb 2003 10:22:38 +0100, François Van Emelen [EMAIL PROTECTED] wrote: P Witte wrote: This was the sort devious stuff one was expected to do in Archive. In SuperBasic it is easiest just to MERGE or MRUN the code. Why go to all this trouble? I know, I used to do that in

Re: [ql-users] Sbasic and macro substitutions

2003-02-20 Thread François Van Emelen
Hi Wolfgang, [EMAIL PROTECTED] wrote: On 20 Feb 2003 at 10:42, [EMAIL PROTECTED] wrote: DEFine FuNction val$ (command$,parameter$) Oops I don't know why that was sent - Marcel has already posted this solution. Sorry. Wolfgang Thanks, anyway Regards François Van Emelen

Re: [ql-users] Sbasic and macro substitutions

2003-02-20 Thread François Van Emelen
Hi Wolfgang, [EMAIL PROTECTED] wrote: On 20 Feb 2003 at 10:01, François Van Emelen wrote: Hi Marcel, Thank you for your answer. Wouldn't there be a problem when your Eval$(e$)function is used 1000s of times? Isn't there a limit to the number of times a channel can be opened and closed in

Re: [ql-users] Sbasic and macro substitutions

2003-02-20 Thread Franois Van Emelen
Phoebus Dokos wrote: On Thu, 20 Feb 2003 10:22:38 +0100, François Van Emelen [EMAIL PROTECTED] wrote: P Witte wrote: This was the sort devious stuff one was expected to do in Archive. In SuperBasic it is easiest just to MERGE or MRUN the code. Why go to all this trouble? I know, I

Re: [ql-users] Sbasic and macro substitutions

2003-02-20 Thread Phoebus Dokos
On Thu, 20 Feb 2003 13:22:15 +0100, Fran��§ois Van Emelen [EMAIL PROTECTED] wrote: I didn't know that! Do you mean that you can MERGE or MRUN a file in a TURBOed program? Can this be done? 500 MERGE 'ram1_my_prog_bas' THIS (as in what's written above) No. But a similar thing CAN

Re: [ql-users] Sbasic and macro substitutions

2003-02-20 Thread P Witte
François Van Emelen writes: Hi Marcel, Thank you for your answer. Wouldn't there be a problem when your Eval$(e$)function is used 1000s of times? Isn't there a limit to the number of times a channel can be opened and closed in a program? There is be no need to keep opening and closing