Re: help with include files

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

Irv's reply to Ferlin regarding dynamic selection of an
include file was essentially correct. However consider
the following "trick":

-- ...set THISSEQ,  perhaps from user input...

if compare(THISSEQ, "INCA") = 0 then
       system("copy a.e temp.e", 2)
elsif compare(THISSEQ,"INCB") = 0 then
       system("copy b.e temp.e", 2)
end if

include temp.e


This won't work if you bind or shroud your program,
but will work if you run it the normal way with ex/exw.

Regards,
     Rob Craig
     Rapid Deployment Software

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

Search



Quick Links

User menu

Not signed in.

Misc Menu