Hi All
I wanted to try some sys calls so thought I'd try and set the orientation to Portrait.
Looked at this sit, and then came up with the listing below. Tried it a few different ways but can't get it to work.
Any ideas
Regards Roy
Code: 10 on error if err=17 chain @lib$+"../examples/tools/touchide" else procCleanup : mode 3 : print report$; " At line " erl : wait 1000 : end 20 30 mode 6 rem Set orientatton 40 rem Values 50 rem LandscapeLeft = top of device left 60 rem LandscapeRight = top of device right 70 rem Portrait = top of device up 80 rem PortraitUpsideDown = top of device down 90 100 LandscapeLeft = 0 110 LandscapeRight = 1 120 Portrait = 2 130 PortraitUpsideDown = 3 140 150 sys "SDL_SetHint","SDL_HINT_ORIENTATIONS,Portrait" 170 printtab(10,10)"Portrait" 180 repeat wait 4 : until false