pspp-users
[Top][All Lists]
Advanced

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

Re: Could I compute conditional without sintaxis?


From: Domingo J Rubira López
Subject: Re: Could I compute conditional without sintaxis?
Date: Sat, 22 Aug 2020 20:04:03 +0200

Ok, thanks.

Have a nice weekend!


El sáb., 22 ago. 2020 a las 20:02, Alan Mead (<amead2@alanmead.org>)
escribió:

> No, I'm not aware of any way to use DO .. IF in the GUI. I think this is
> only available in syntax.
>
> -Alan
>
>
> On 8/22/2020 2:33 AM, Domingo J Rubira López wrote:
>
> 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.
>
>
>
> --
>
> Alan D. Mead, Ph.D.
> President, Talent Algorithms Inc.
>
> science + technology = better workers
> http://www.alanmead.org
>
> The irony of this ... is that the Internet is
> both almost-infinitely expandable, while at the
> same time constrained within its own pre-defined
> box. And if that makes no sense to you, just
> reflect on the existence of Facebook. We have
> the vastness of the internet and yet billions
> of people decided to spend most of them time
> within a horribly designed, fake-news emporium
> of a website that sucks every possible piece of
> personal information out of you so it can sell it
> to others. And they see nothing wrong with that.
>
> -- Kieren McCarthy, commenting on why we are not
>                     all using IPv6
>
>


reply via email to

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