Post by riley on Oct 14, 2021 23:39:19 GMT
Hi there,
I'm new to psytoolkit and am just starting to design a survey with multiple questionnaires and a brief experimental paradigm embedded. However, I am getting a compile error message with my first two surveys. The error message just says: "Unknown survey command:"
I'm not sure what to make of it with the blank after command...
Any advice would be greatly appreciated!
Code below.
scale: frequency
- {score=0} not at all
- {score=1} several days
- {score=2} more than half the days
- {score=3} nearly every day
##start of GAD-7##
page: begin
l: gad
t: scale frequency
o: width 50%
q: Over the last 2 weeks, how often have you been bothered by the following problems?
- Feeling nervous, anxious or on edge
- Not being able to stop or control worrying
- Worrying too much about different things
- Trouble relaxing
- Being so restless that it is hard to sit still
- Becoming easily annoyed or irritable
- Feeling afraid as if something awful might happen
page: end
<br>
##start of PHQ-9##
page: begin
l: phq
t: scale frequency
o: width 50%
q: Over the <b>last 2 weeks</b>, how often have you been bothered by any of the following problems?
- Little interest or pleasure in doing things
- Feeling down, depressed, or hopeless
- Trouble falling or staying asleep, or sleeping too much
- Feeling tired or having little energy
- Poor appetite or overeating
- Feeling bad about yourself - or that you are a failure or have let yourself or your family down
- Trouble concentrating on things, such as reading the newspaper or watching television
- Moving or speaking so slowly that other people could have noticed? Or the opposite - being so fidgety or restless that you have been moving around a lot more than usual
- Thoughts that you would be better off dead or of hurting yourself in some way
page: end
I'm new to psytoolkit and am just starting to design a survey with multiple questionnaires and a brief experimental paradigm embedded. However, I am getting a compile error message with my first two surveys. The error message just says: "Unknown survey command:"
I'm not sure what to make of it with the blank after command...
Any advice would be greatly appreciated!
Code below.
scale: frequency
- {score=0} not at all
- {score=1} several days
- {score=2} more than half the days
- {score=3} nearly every day
##start of GAD-7##
page: begin
l: gad
t: scale frequency
o: width 50%
q: Over the last 2 weeks, how often have you been bothered by the following problems?
- Feeling nervous, anxious or on edge
- Not being able to stop or control worrying
- Worrying too much about different things
- Trouble relaxing
- Being so restless that it is hard to sit still
- Becoming easily annoyed or irritable
- Feeling afraid as if something awful might happen
page: end
<br>
##start of PHQ-9##
page: begin
l: phq
t: scale frequency
o: width 50%
q: Over the <b>last 2 weeks</b>, how often have you been bothered by any of the following problems?
- Little interest or pleasure in doing things
- Feeling down, depressed, or hopeless
- Trouble falling or staying asleep, or sleeping too much
- Feeling tired or having little energy
- Poor appetite or overeating
- Feeling bad about yourself - or that you are a failure or have let yourself or your family down
- Trouble concentrating on things, such as reading the newspaper or watching television
- Moving or speaking so slowly that other people could have noticed? Or the opposite - being so fidgety or restless that you have been moving around a lot more than usual
- Thoughts that you would be better off dead or of hurting yourself in some way
page: end