Re: Is Global Copy Possible?



You certainly COULD create your own "preprocessor" to do this.

For information on how to create and access such a thing in Server Express 4.0,
see

"Chapter 16: Integrated Preprocessor Interface"

in the "Program Development" manual.

Having said that, I am not really certain that it would be worth it, but it is
POSSIBLE.

--
Bill Klein
wmklein <at> ix.netcom.com
"Chris" <ctaliercio@xxxxxxxxx> wrote in message
news:1125348326.679722.231110@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I know this is probably reaching, but I'm always looking for a way to
> do things more simplistically.
>
> Does anyone know of a way to include a specific copy file in every
> program belonging to an application without explicitly using a COPY
> statement inside of the programs? For example, can I add it as a
> compile time option?
>
> More specifically I am looking to include the same list of EXTERNAL
> variables in each program that is a member of my application without
> having to add a line like:
>
> COPY "EXTERNALS.WS"
>
> These values are static values and each program within the application
> will need to know the value of them. But rather than have each program
> look them up in the database, and make each program more efficient, the
> initial program looks up and populates these values. Then since they
> are declared as external in all of the other applications the values
> carry automatically.
>
> I'm using MF Server Express 4.0 SP2 on HP-UX11i.
>
> Thanks in advance!
> Chris
>


.



Relevant Pages

  • Re: Cpp Considered Harmful
    ... not bring down the server. ... > library management when finally addressing the preprocessor in the ... regarding the CPP. ...
    (comp.lang.cpp)
  • Re: CSS Menu
    ... So I can't use SSI (Server Side Include), SSC (Server Side Scripting). ... XML, something like that) and update its content. ... A preprocessor is the best option here. ...
    (alt.html)
  • Re: how to reload only part of html ?
    ... gxk wrote: ... that can read commands in a simple file and build a more complex page from it. ... Either server side page generation or a preprocessor will work. ...
    (comp.infosystems.www.authoring.html)
  • Re: VECTOR data types and intrinsic functions
    ... It could even be done transparently with a compile time option. ... (I believe gcc lets one specify the preprocessor to be used, ... convert the VECTOR syntax into the standard form. ... There are many non-standard features in use that have since had ...
    (comp.lang.fortran)
  • Re: PL/I, COBOL, Advantages, Equivalence, et al
    ... glen herrmannsfeldt wrote: ... The optimizer also considered %include a preprocessor statement but provided the include compile time option as an alternative to the macro option for the situation in which %include was the only preprocessor statement used. ...
    (comp.lang.pl1)