Hi all...I'm running the following script under CGI....

;Load the fields configuration file (fields.r)
;-----------------------------------------------
Fields: load %fields.r


;Enter the main procedure loop. This generates the individual entry ;fields
based on the contents of the sperate entries in the Fields.r ;file
;-----------------------------------------------------------------------
foreach [name type] Fields [
        FormField: reform [{"Name":<B>cgi/}name{</B><P>}newline]
        write/append %cgiworf.r FormField
        ]

However the resulting text file (cgiworf.r) appears as such

print [
    <html><body><h2>"CGI Results:"</h2>
        Name:<B>cgi/ Category </B><P>
        Name:<B>cgi/ Justification </B><P>
</body><html>

---

Somehow an extra space character is appearing after cgi/

As far as I can tell this is not in the fields.r file.....anyone have any
suggestions?

re

Francois

Reply via email to