|
OK, for kicks I decided to move the text and integer-to-text
variables to just before they were needed, just prior to the
output. It works. I'm not sure why, but it does.
I'd been always specifying my vars at the top of a file.
Maybe not good practice universally.
Thanks to all.
Dave
-------Original
Message-------
Date: Wednesday,
March 06, 2002 10:44:48 AM
Subject: Re: writing
variables
Sorry for the from the hip response, but I made up a
test script after I sent the previous and it does work WITHOUT the
parens although WITH is preferred. In every case where the variables
actually held a value, it was output to the target file. When ther
variable was empty or null, the result you experienced is what is
expected. Have you run this code with error messages and messages on
to see if Rbase complains (like lack of sufficient buffer space) or
something like that (like having a large number of variables already
in process and not enough space to process the
current).
----- Original Message ----- From: "David Ebert"
<[EMAIL PROTECTED]> To:
<[EMAIL PROTECTED]> Sent:
Wednesday, March 06, 2002 3:00 AM Subject: writing
variables
I'm trying to create a command file that outputs
values to a file. It works in trace, but not from the command line.
I'm doing something wrong, but can t figure out what.
What I
get is this:
Monthly program case stats
02/01/2002 to
02/28/2002 =============================================
cases
open 1st of the month =
number of new cases opened
=
number of cases closed =
cases open end of the month
=
number of youth receiving service =
In Trace the
values appear. The code is attached (since my mail client can't take
cut/paste and produce plain text).
tia for any
help.
Dave
================================================ TO
SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In
the message body, put just two words: INTRO
rbase-l ================================================ TO
UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In
the message body, put just two words: UNSUBSCRIBE
rbase-l ================================================ TO SEARCH
ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/
. |