HP3000-L Archives

January 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Leonard S. Berkowitz" <[log in to unmask]>
Reply To:
Date:
Wed, 19 Jan 2000 16:45:01 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
I created a string variable (proved by TYPEOF = 2) with the value 0119, these
digits being the lower four digits of another variable with a value of 20000119.
I used STR (string,5,4). When I perform SHOWVAR, I see 0119, but when I
dereference the variable to create a file name, the name is XX119 and NOT
XX0119. I thought of checking the length and prepending a '0', but the length of
my variable is 4.

How do I keep the leading zero when I dereference the variable?

Thanks.
===================
Leonard S. Berkowitz
Perot Health Care Systems
(Harvard Pilgrim Health Care account)
voice: 617-509-1212
fax:   617-407-8444

ATOM RSS1 RSS2