Mailing List Archive



Back to the month index Back to the list index

David J. Hughes (bambi@Hughes.com.au)
Wed, 7 Apr 1999 10:57:39 +1000 (EST)


Date: Wed, 7 Apr 1999 10:57:39 +1000 (EST)
From: "David J. Hughes" <bambi@Hughes.com.au>
Subject: Re: Lite / Form Question
Message-ID: <Pine.BSF.3.96.990407105530.518C-100000@fawn.hughes.com.au>

On Thu, 1 Apr 1999, Darrell Schulte wrote:

> Would this do it? (never used it and not completely sure when I'd ever
> use it)
>
> o The createVariable() function has been added to the standard

We use it quite a lot. In some of our in-house applications we'll have 2
text files. One is a template containing text with embedded variables
(could be HTML code or troff for example). The other file is a list of
variable names and values.

createVariable() is used on the contents of each line of the "variables"
file to create those variables in the LVM. expandText() is then used on
the contents of the "text" file to generate the desired output.

Bambi
...