I am quite new to CSPro and I would like your help on this. I looked online but I could not find any reference.
I want to create a logic based on a specific value in a occurrence in a roster. Let me explain. I have a roster made of 6 occurrences in which a variable is called "APPLES". Few questions after the roster I have a variable called "ORANGES". I would like that if the fourth occurrence in "APPLES" is equal to 5, the variable "ORANGES" is skipped and next question is "BANANAS".
My unsuccessfully attempt is:
Code: Select all
PROC ORANGES
preproc
if curocc(APPLES) = 4 then
skip to BANANAS
endif;
Thank you very much,
Giacomo