/* * Test of custom event list example from System Manual - String Literals * (strlit.htm). */ atmosphereList: object eventList = [ 'To err is human; to really screw things up you need <>a computer<>a committee of experts<>an Act of Parliament<>Vulcan logic<>a roomful of lawyers<>. ' , 'This message has displayed <>once<< else if count == 2>>twice<><> times<>. ' ] count = 0 curIndex = 1 getNext() { if (curIndex > eventList.length()) curIndex = 1; return eventList[curIndex++]; } ; main(args) { for (local i in 1..10) "<>\b"; }