LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 28 Sep 2000 16:43:16 +0100
Reply-To:   John Whittington <John.W@MEDISCIENCE.CO.UK>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   John Whittington <John.W@MEDISCIENCE.CO.UK>
Subject:   Re: How to reverse variables
Comments:   To: Jonathan_Goldberg@MASTERCARD.COM
In-Reply-To:   <E13efeK-0006sg-00@relay1.netnames.net>
Content-Type:   text/plain; charset="us-ascii"

At 10:36 28/09/00 -0500, Jonathan Goldberg wrote (in part):

>copied directly from Charles Patridge's post with SAS V8.0 under Solaris 5.6 >gives: > >Obs v1 v2 v3 v4 v5 > > 1 5 4 3 2 1 > >just as Paul claimed it would. I cannot explain the discrepancy.

It seems that while SAS v8.0 uses one byte to store a character variable of length 1, v6.12 uses 4 bytes (even if one explicitly declares the length as 1).

Kind Regards,

John

---------------------------------------------------------------- Dr John Whittington, Voice: +44 (0) 1296 730225 Mediscience Services Fax: +44 (0) 1296 738893 Twyford Manor, Twyford, E-mail: John.W@mediscience.co.uk Buckingham MK18 4EL, UK mediscience@compuserve.com ----------------------------------------------------------------


Back to: Top of message | Previous page | Main SAS-L page