h6. [[TerritoryManager]] h6(. » [[Territory SWI Calls|SWI Calls]] h6((. » Territory_WriteDirection h2. Territory_WriteDirection h5. (SWI &43055) |_<^{width:4em}. Entry | | |<^. R0 |<^. [[Territory Numbers|Territory number]], or -1 for current | |_<^{width:4em}. Exit | | |<^. R0 |<^. "Write direction bitfield":#direction | h4(#direction). Write Direction |_<^{width:4em}. Bit |_<^{width:4em}. Value |_<^. Meaning | |/2<^. 0 |<^. 0 |<^. Writing goes from left to right | |<^. 1 |<^. Writing goes from right to left | |/2<^. 1 |<^. 0 |<^. Writing goes from top to bottom| |<^. 1 |<^. Writing goes from bottom to top | |/2<^. 2 |<^. 0 |<^. Lines of text are horizontal | |<^. 1 |<^. Lines of text are vertical | h4. Use The purpose of this call is to return the direction of writing used in the given territory. h4. Notes None. h4. See also * [[Territory Numbers]]