Compatibility

From x11-basic

Differences between interpreted and compiled code

  • ON ERROR GOTO and ON BREAK GOTO will not compile correctly and must not be used on compiled programs.
  • PRINT statements will not compile correctly sometimes. Avoid to use functions and variables in print statements, which are not used anywhere else.

Differences between UNIX, WINDOWS, TomTom and Android versions

issueX11-Basic onGfA BASICcomment
UNIX/linuxMS WINDOWSTomTomAndroid
ANDROID? result: 0 result 0result: 0 result: -1 -
UNIX? result: -1 result 0result: -1 result: -1 -
WIN32? result: 0 result -1result: 0 result: 0 -
SENSOR? result: 0 result 0result: 0 result: -1 -
GPS? result: 0 result 0result: 0 result: -1 -
ROOTWINDOW ok no effect no effect no effect - The ROOTWINDOW is only visible, if it is not overwritten by GNOME desktop.
OPENW/INFOW/TITLEW/CLOSEW ok ok no effect no effect OPENW/INFOW/TITLEW/CLOSEW
SENSOR() 0 0 0 ok -
CALL() ok ok ok ok C:()
SPAWN ok no effect ok ok -
EDIT ok does not work ok does not work EDIT
GET_GEOMETRY ok ok same as GET_SCREENSIZE same as GET_SCREENSIZE -
GET_SCREENSIZE ok ok ok ok -
GPS ON/OFF no effect no effect no effect ok - GPS on the TomTom is alway ON. You must access the device by opening the NMEA device.
SENSOR ON/OFF no effect no effect no effect ok -
HIDEM/SHOWM no effect no effect ok ok HIDEM/SHOWM HIDEM and SHOWM are not supported by the X-Window system. You can use DEFMOUSE with an empty bitmap instead.
AFTER/EVERY ok no effect ok ok AFTER/EVERY WINDOWS does not support the alarm() mechanism. So these commands cannot work. You can try to do something with FORK().

Please let me know about your experience with X11-Basic on your device. Thank you!