Am 17.04.2020 um 13:05 schrieb Riccardo (Jack) Lucchetti:
On Fri, 17 Apr 2020, Sven Schreiber wrote:
> perhaps we discussed this before: While it is possible in the GUI
> (menus) to define a dummy indicating the currently active sample, it
> doesn't seem directly possible to set the sample based on such a dummy.
> I had problems explaining to new users why that is.
>
> I know you can go to Sample/restrict by condition and then type
> something like mydum==1 in the text field. I also know how to do that in
> a script. But wouldn't it be more natural if in Sample/choose range
> there was a way to simply pick the dummy variable and use that
> automatically?
Uhm, is this a trick question? The dialog you get with "Restrict,
Based on Criterion" has a radio button that does exactly what you say.
That would explain why I had déjà-vus about this topic. But
unfortunately I don't have that button here. This is 2020a on Windows
10. I will try to cleanly install 2020b and see what happens.
cheers
sven