[Xerte] Escape sequences

Fred Riley Fred.Riley at nottingham.ac.uk
Thu Jun 25 15:23:08 BST 2009


Just a couple of very minor queries, not problems, honest:

1. In the app I'm working on, put together by someone else (see prior
email), there's the following code:

  summary += texts[i] + '\r\r';

I take it that \r is an escape sequence, but what for? The two \r seem
to generate a new line, but I'd have expected \n for that. Is there a
help topic on the escapes available in Xerte?

2. In a text icon the text simply reads:

{summary}

which displays a text variable built up in a previous script icon. If I
add anything else to the text then the var ceases to display and I just
see the string "{summary}". What are the rules for using this construct?

Just minor curiousities, no big, feel free to ignore :)

Cheers

Fred Riley
Learning Technologist
School of Nursing, Midwifery and Physiotherapy, University of Nottingham
Vcard: http://www.nottingham.ac.uk/nursing/sonet/about/fr_uon.vcf 


More information about the Xerte mailing list