Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 4
»
combine variables
combine variables
Post Reply
Like
29
combine variables
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Guido K.
Guido K.
posted 11 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 5,
Visits: 69
Dear forum,
while looking for a input-button-randomization we have problems to find the best solution. Subjects have to press the left or right button (perhaps "a" and "l") for right answer, randomly other have to press the switched buttons ("l" and "a").
/ onexptbegin = [values.left_right = round(rand(1,2))]
will bring a random value (1 or 2). Now we want to use the left_right-value to select the proper correctresponse. Therefore we use two lists (listname1 and listname2).
/ correctresponse = (list.listname1.nextvalue)
works, but we want to change the "1" in "listname" for the other condition into "2" like this:
/ correctresponse = (list.listname<%values.left_right%>.nextvalue)
will not work! How it's possible to use and combine variables (values) in Inquist? What is the different between values and variables?
Best
Guido
Reply
Like
29
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
combine variables
Guido K.
-
11 Years Ago
This will not work using the /correctresponse attribute. It only...
Dave
-
11 Years Ago
Thx, this will help.
Guido K.
-
11 Years Ago
Post Reply
Like
29
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search