pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error Message on SUBSTRG String Function


From: Frans Houweling
Subject: Re: Error Message on SUBSTRG String Function
Date: Thu, 4 Mar 2021 22:07:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

Hi Ricardo,

 ResidenceZipcodes is a new variable here, and is therefore assumed to be numeric.

Unless it was your intention re-assign to ResidenceZipCode, you need to declare the variable as a string:

STRING ResidenceZipcodes (A5).

HTH

frans


On 3/4/21 9:43 PM, Ricardo Mejias wrote:
Using a Substr string function on a string variable (see the screen shots below) I get an error message saying: "the _expression_ has string type, but a numeric value is required here."  Did I do something wrong or is this a bug?









I am using GNU pspp 1.4.1-g79ad47 with Windows 10

















reply via email to

[Prev in Thread] Current Thread [Next in Thread]