Date: Wed, 31 Jul 2002 19:43:24 +0100
Reply-To: "roland.rashleigh-berry" <roland.rashleigh-berry@NTLWORLD.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "roland.rashleigh-berry" <roland.rashleigh-berry@NTLWORLD.COM>
Organization: ntlworld News Service
Subject: Re: dynamic formats
<email@example.com> wrote in message
> Roland Rashleigh-Berry posts...
> Suppose you have a dataset like this and you want to get a formatted
> output string with "n" formatted by what's in the "fmt" variable:
> var fmt
> 1.234 5.3
> 12345 5.
> <proposed solution snipped>
> str = putn(var,fmt); /* contents of 'fmt' vble read at execution time */
> just as effective, or have I misunderstood your post?
Thanks for that. This was a blind spot in my SAS knowledge that I have
sometimes coded around for years when there was no need to. Maybe I should
read the manual(s) from cover to cover sometime.