comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Pre-processor-like Capability?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Pre-processor-like Capability? [message #6433] Tue, 11 June 1996 00:00
Bruce E Thomason is currently offline  Bruce E Thomason
Messages: 6
Registered: March 1996
Junior Member
Does anyone know of a IDL/PV-Wave capability that is analogous to
C's preprocessor?

I am particularly interested in efficiently establishing symbolic
references (in the coding process) to constant values for use across
many routines (as #define does w/ the C pre-processor), but to have
these values efficiently accessed at run-time.

The two alternative's I've come up with are:
1. Declaring variables via an "include" (@xxx) file. This has the down
side of potentially including declarations to variables that are not
used in a routine, as well as accessing variables in what (I expect) is
a less efficient manner than accessing a literal value.

2. Using system variables, which I also expect is less efficient that
accessing a literal value.

I would prefer a language intrinsic approach, but might have to settle
for writing/using a (language independent) preprocessor. Does anyone
have a recommendation in this regard?

Thanks in advance!

Bruce
{!}
/~~~~~\....:
{(o)-(o)}
----------------------------------OOo----(_)----oOO--------- ---------
Dynamic System Solutions Real-Time System Developers
331 Franklin St. For Test, Measurement &
Columbus, IN 47201 Scientific Visualization
[Message index]
 
Read Message
Previous Topic: Contour irregular earth data?
Next Topic: Re: Wavelet Workbench

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:03:25 PDT 2025

Total time taken to generate the page: 0.16326 seconds