[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Problems with Begin/End-Document



I am trying to create a document using the begin/end-document feature, but
I seem to be having some minor technical difficulties.

This method works fine for straight text, but variables don't seem to fare
well.  Notice the $newyr variable in the code, then notice the absence of
data in the output.  Additionally, the punctuation following the variable
is missing.

Code:
begin-document (1,1)
DO NOT USE this form to make changes for the next benefit year, $newyr. The
necessary forms for this use may be obtained from the Human Resources Office.
.
.
end-document

Output:
DO NOT USE this form to make changes for the next benefit year,         The
necessary forms for this use may be obtained from the Human Resources Office.


In the second occurrence, the year prints but there are added spaces after
the variable.

SQR:
The information given below reflects the benefit/personal data we currently
have for you and/or your dependents as submitted on your $curryr Benefit
.
.
end-document

Output:
The information given below reflects the benefit/personal data we currently
have for you and/or your dependents as submitted on your 2001    Benefit


Any ideas?

Thanks
Carolyn Woods
MiraCosta College
Oceanside, CA