Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

text presentaion on OpenSesame

Hi everyone,

I am creating programming codes exercises as my multiple choice questions, however when it comes to i<=n; or ++i , it is not displayed for the participants(while the experiment running). It is displayed in the script of openSesame though. does anybody know how to solve the issue pl?



Thank you so much in advance

Megen

Comments

  • Hi @Megen ,


    Apparently, less-than (and greater-than) signs are interpreted as (HTML) tags and therefore you have to use HTML entities to show them correctly. In case of the smaller-than sign in your example, "<" should be replaced by "&lt;" (without quotation marks).


    So

    for (int i = 1; 1<=n; i++)
    


    becomes


    for (int i = 1; 1&lt;=n; i++)
    


    See also:



    Cheers,


    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

Sign In or Register to comment.