Navigation stuff goes here


Command groups: Comments

There are three things you can put into a script which are meant for humans to read and will be ignored by PsyScript.

Blank lines

Blank lines will be ignored if they are between blocks, or if they are inside procedure blocks or tables. However, blank lines in text blocks are not ignored: PsyScript considers them to be part of the text.

Comment lines

Lines starting with -- (two minus signs and a space) will be ignored if they appear between blocks or inside procedure blocks. However, comment lines in tables and text blocks are not ignored: PsyScript considers them to be part of the table or text.

Comment blocks

These are blocks just like procedures, tables, and textblocks are blocks. They start with a line starting with the word comment followed by a space and the name of the comment block. The comment block can contain any number of lines of text, and ends with a line containing just end comment.

comment exampleComment Any number of lines of text can appear here. They are all ignored by PsyScript. You can indent the text if you like, but don't have to. Your script cannot even tell a comment block like this exists, let alone what it contains. end comment

Commands

(pretend this is a blank line)

A blank line inside a procedure will be ignored.


-- <any text you like here>

Lines starting with -- (two minus signs and a space) will be ignored

-- figure out whether the participant got it right

-- this bit is for testing and will be removed XXX


Technical notes

None.

See also