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