pspp-users
[Top][All Lists]
Advanced

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

Could I compute conditional without sintaxis?


From: Domingo J Rubira López
Subject: Could I compute conditional without sintaxis?
Date: Sat, 22 Aug 2020 09:33:43 +0200

Hi everyone,
I would like to know if I could compute a conditional variable directly
without using Sintaxis. I explain it better in this example:

I would like to compute the variable called NEW_AGE with the variable AGE.
If I use sintaxis window, I write the following sentences:

DO IF (AGE<20).
COMPUTE NEW_AGE=AGE+10.
ELSE IF (AGE>40).
COMPUTE NEW_AGE=AGE-10.
END IF.
EXECUTE.

Could I do it in this window of my screenshot?
[image: image.png]
Thank you
Domingo.

PNG image


reply via email to

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