I'm trying to re-organise the displays as I want several pixel displays and several text displays, but I am having no end of trouble figuring out the syntax and getting it to work.
The cheatsheet says to "assign" the display mode to the display, so is that a literal assignment, using "+"? Which is correct
displayMode(0).mode = displayMode.text
or
displayMode(0).mode displayMode.text
I've tried multiple variations and they are all giving me grief, as when I try to use the changed displays, the methods I'm using give me errors saying they are not in the map. I've tried printing out the maps to see what they are set to, but I either get what looks like the default map one way, or something corrupted showing bits of my program code intermingled with the map functions.
So if I could just a clear example with a basic test to see it work, that'd be great. Thanks.
edit
So assigning to unallocated displays sort of works, such as this
display(2).mode = displayMode.pixel
traceDisplay = display(2)
Doing that, my method is at least being called, however it doesn't seem to be displayed. I know it's working, as when I restart the game, it shows all the lines I've been drawing on this display, before my initial clear, but while the game is running, it doesn't display the lines as they are being drawn. Display 2 is my highest (priority, lowest number) display.
As for the assignment,a s I said it seems to work on an unassigned display, but when I try to re-organise and change the default displays (i want text on display 0, sprites on 3, and pixel on 4 and 5) it becomes a mess of errors.
Russell.