Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 2 of 2

Thread: randomizing location

  1. #1

    randomizing location

    Is there any way to use the rand() command to randomize location? I'm doing a parafoveal priming task and I want the prime lacation (one of four quadrants) to be random.
    Last edited by jarvis24; 04-07-2006 at 02:53 PM.

  2. #2
    Join Date
    Nov 2005
    Haven't tried. I expect you would run into trouble with the commas if you tried the whole thing at once like this:
    You might think this would work:
    But it won't--the parser I wrote doesn't care about quotes.

    There may be a way though. Try this:
    That ought to give you a randomly chosen quadrent. Remember to use center alignment in your style if you want the stimuli to be centered on these points.

    For interested others: see Using Random Values in the guide for more detail on this function.

    Hope that helps!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts