Counters: something may be very, very wrong here


Author
Message
Blackadder
Blackadder
Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)Supreme Being (27K reputation)
Group: Forum Members
Posts: 280, Visits: 147

Hi All,


consider the attached script. It's objective is very simple: Display the four letters "A", "B", "C", and "D" at once in consecutive order. I know you could do that much easier but this is for testing purposes only. The counters were originally set up as follows:


<counter COUNTER_text1>
/ items = (1, 2, 3, 4)
/ select = 1
</counter>

<counter COUNTER_text2>
/ items = (1, 2, 3, 4)
/ select = 2   
</counter>

<counter COUNTER_text3>
/ items = (1, 2, 3, 4)
/ select = 3
</counter>

<counter COUNTER_text4>
/ items = (1, 2, 3, 4)
/ select = 4
</counter>



What I'd expect to happen is that the first counter selects element 1 (which would be "A" in the letters list), the second counter selects element 2 (letter "B") and so forth. The actual result is quite different, i.e. all letters are "A" in all trials, hence, the counters obviously ignore the "/ select" integer.


Then I tried to use "/ select = sequence(2,2,2,2)" for the second counter so that it reads


<counter COUNTER_text2>

/ items = (1, 2, 3, 4)

/ select = sequence(2,2,2,2)

</counter>



To my understanding of counters, this should have the counter select its second element four times in a row. Again, something very different happens. The counter selects its first item on the first trial (corresponding to letter "A"), then the second item (letter "B") on the second trial and so forth, so that the first letter iterates sequentially from "A" to "D" across trials. It is as if I hadn't specified the "(2,2,2,2)".


Finally, I used "/ select = constant(3)" for the third counter which in my conception should yield the same behavior as "/ select = 3". Well, it does, but just as ill-mannered. Inquisit disregards the integer setting but always selects the first element (letter "A" again).


I can't believe that this is a faulty implementation. So I must be doing something wrong. Any hints?


Best wishes,
Malte


Attachments
NotOption.exp (1.1K views, 1.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Blackadder - 15 Years Ago
Dave - 15 Years Ago
Dave - 15 Years Ago
Blackadder - 15 Years Ago
                     Granted, the help example for the "select" property
involves a...
Blackadder - 15 Years Ago
                         You need not be sorry about disagreeing with me. That's perfectly...
Dave - 15 Years Ago
                             In a nutshell: as of today, one may completely forget
a) the "/...
Blackadder - 15 Years Ago
                                 Hi Malte,
I agree the behavior of counters are confusing in this...
seandr - 15 Years Ago
                                     Dear Sean,
thanks for responding! The example was a stripped...
Blackadder - 15 Years Ago
                                         Malte,
multiple /not attributes will get you what you're looking...
Dave - 15 Years Ago
                                             Dammit again -- I even have a demo script for this around (conceived...
Dave - 15 Years Ago
                                             Wait, you mean this
/ not = (counter1, counter2, counter3)...
Blackadder - 15 Years Ago
                                                 [quote]D'oh! My bad... but, you know, this exactly resembles what I...
Dave - 15 Years Ago
                                                     That brings back an idea I had a while ago when we hired four...
Blackadder - 15 Years Ago
                                                     [quote]I'd rather opt for fixing and straightening out the current...
seandr - 15 Years Ago
                                                         [quote]And yes, the two examples of multiple "not" should be...
Dave - 15 Years Ago
                                                             Ok, I think the only bug is in the documentation, because I've checked...
seandr - 15 Years Ago
                                                                 Okay, here we go: I had initially discovered the inconsistency between...
Dave - 15 Years Ago
                                                                     Yep, same here. The reason for my disbelieving response to Dave's...
Blackadder - 15 Years Ago
                                                                     Some more details about the code attached to my previous post to help...
Dave - 15 Years Ago
                                                                         Thanks for the test cases, Dave, they definitely clarify things. I've...
seandr - 15 Years Ago
                                                                             Well, for a start, I'd suggest
<counter COUNTER_latin> /...
Blackadder - 15 Years Ago
                                                                             [quote]
Thanks for the test cases, Dave, they definitely clarify...
Dave - 15 Years Ago
                                                                                 [quote]I've attached a script that should indeed produce a random,...
Blackadder - 15 Years Ago
                                                                                     [quote]thus causing confusion and dismay with my nonsensical...
seandr - 15 Years Ago
                                                                                         [quote]my ideas for new counter syntax were stolen straight from...
Dave - 15 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search