Re: Variable substitution

new topic     » goto parent     » topic index » view thread      » older message » newer message

Mike777 wrote:
> 
> Mike wrote:
>  
> > Mike777 wrote:
> > > 
> > > I have read a few threads on variable substitution, but they all seem to
> > > predate
> > > v3.1.1.  Has the ability been added?  If not, is there a common way to
> > > implement
> > > it? 
> 
> > What you seem to be trying to do will entail building a file that contains
> > the
> > correct text.
> 
> Thanks for the code, it will be helpful.  However, I don't think it will allow
> me a one-pass solution, will it?  Assuming I write the file with a bunch of
> those lines, how do I then execute those lines within the same program that
> wrote them?
> 
> If the goal is to build a separate exw file which can then be run, what you
> suggest would work a treat, though.
> 
> Otherwise, I think I'm heading down the newUIOBJ path.
> 
> Mike

To run an external file you would use system() or system_exec(). I use the
latter in Orac
to execute the built file. Of course, you would have 2 separate programs
executing rather
than dynamically changing the one running program. Still, this would be easier
than newUIOBJ
but it all depends what you are trying to achieve.

Mike

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu