HTML Samples
Lerebours, Jose
Jose.Lerebours at EagleGL.com
Tue Jun 27 09:35:13 PDT 2006
Pete wrote:
> I'm using filepro HTML commands for the first time
> (5.0 Linux) and would like to see some examples of
> processing to create a web page. Please send samples
> to computer at alaskanwindow.com or let me know where to
> look. Thanks.
>
Pete,
Why write any filePro code to create HTML documents?
Personally, I find it cumbersome to say the least. This
is what I did.
1. I designed my HTML pages using easy to use HTML designer
(your choice)
2. I placed fields and variables where I wanted filePro
content to appear using &fp### and/or &fpVAR
3. I wrote a routine which then parses my source HTML
document and plugs in content according to &fpMACRO
(if you can call it that!)
The code does not need to be revised other than to define
and populate variables when needed. As I wrote it, it works
fine (it gets the job done) but it can use some cleaning-up.
Take for instance, I use xVars(676):aa to capture values held
in dummy variables and then generate pointer using simple
algorithm instead of simply using value() function.
I do not want to trouble the list with sample of this code
but if you guys want a copy of it, just let me know and I will
zip it up and post it here.
Regards;
Jose Lerebours
PS: Code is UNIX based
More information about the Filepro-list
mailing list