Dear Shane and PEBL users, Using the WaitForListKeyPressWithTimeout function, if a key is pressed, the function returns the key. For instance : <lshift>. If no key is pressed, a list is returned with one item <timeout>. So, for example, when checking the responses of nback, you can see some <lshift> and a lot of [<timeout>].
This pattern is not practical when we want to check the response. If we want to check specifically if it was a timeout, we test for <timeout> as we would test for <lshift>. My way of going around it is IsList(resp). It would strongly recommend changing the behavior so that <timeout> wouldn’t be a list, but directly one item. I know this might create some compatibility issues, so it might be better to wait version 0.15. Is there any user that find it makes more sense the way it is now ? Best regards Laurent Schüpbach PS: Sorry for two e-mails in such a short time, but they are two different matters ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 _______________________________________________ Pebl-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pebl-list
