Or
Sub [myGreatFunction]
End
Etc.
The problem is not that E-Prime doesn't do 'Sub' - it means subroutine (or, procedure, if you like). Two possibilities as to what happened here:
- they've made bad examples. Always first try if you get their examples to work, only THEN see if you can implement them in your own code. How else can you know if your EyeLink works?
- your implementation is invalid; somewhere, an if statement is unfinished (it happens quite a lot with my own code as well), or, worse, ended twice (leading the other end to be the end of all code) or ended when it wasn't necessary, as in:
If [condition] then [Statement]
End if
...
The above is what my students do a lot, and, to be frank, it's very understandable and I don't see what visual basic's preoccupation with new lines is. However, if you write the whole bit in one line, this, to basic means, it is also ended in one go. Pretty frustrating if you're used to C or other programming languages.
I don't know EyeLink, only Tobii, but I assume that if they say their software is e-prime compatible (do they have eye-prime add-ons?), I assume it is...
Best,
Michiel
Michiel Spapé
Research Fellow
Perception & Action group
University of Nottingham
School of Psychology
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-p...@googlegroups.com.
To unsubscribe from this group, send email to e-prime+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.