Using adb from the platform tools package at Android Debug Bridge (adb) fixed it with no problems at least so far. Unpack it in a directory on Windows, install the USB driver at Run apps on a hardware device, enable developer mode and USB debugging on the device, maybe enable installs from APKs or disable app install blocking, connect the device by USB cable, launch a command window, spam platform-tools\adb devices -l until you see the device, then platform-tools\adb install --bypass-low-target-sdk-block...
Is there a more current version of that and of xb2csol.h? I'm fffffiiiiiinnnnnnally dipping my toe in the water of compiling standalones, using tcc Thanks!
My new Samsung Galaxy Tab S9 Ultra SM-X910 refuses to install the X11 Basic 1.28-65 APKs from either here or from f-droid, even with the tab's security features temporarily disabled. Unfortunately I installed the tab's OS updates before trying to install Basic, and the "factory reset" doesn't appear to restore the original version of the OS. Maybe there's a way to force it to install and see if it works after all, maybe there isn't. Resized and original screenshots attached.
They won't crash, but they don't appear to actually do anything in Android
I think I found two compiler bugs, one involving DRAW, both involving DEFFN functions. This gives incorrect results. wh% is the window height set by GET_GEOMETRY: hh% = Min(225, wh% / 3) DefFn HY(H) = wh% - 1 - Int(hh% * Log1P(H * 999999.0) / Log(1000000.0)) This compiles but fails with "Function HY not defined" when run: Draw i% - 1, wh% - 1 To i% - 1, @HY(1.0 * Hist%(maxx% - i%) / HTot%) Workarounds were easy enough in Procedure Histogram: #!/lbin/ybasic ! Shamelessly ripped off, umm, I meant,...
Is this kind of what you mean? It appears to work as intended, at least in Windows and Android > load "G:\My Drive\Projects\bas\new.bas" > list #!/lbin/ybasic Program PokeTheRef X$ = "Original" @PassRef(X$) Print X$ Print Print "OK" End Procedure PassRef(Var S$) Local s%, i% Print S$ S$ = "New~Data" Print S$ s% = VarPtr(S$) For i% = 1 To Len(S$) Poke s% + i% - 1, Peek(s% + i% - 1) XOr 32 Next i% Print S$ Return > run Original New~Data nEW^dATA nEW^dATA OK > load "G:\My Drive\Projects\bas\new.b" >...
Should work on resolutions between the default 640x400 and 16K. Tested on Windows 10 and Android, various versions. Needs some (a lot of) cleanup #!/lbin/ybasic ! Demo some ways to show purrty gradients and how they work ! All this redundant math must have made some kind of sense ! to my acute bronchitis addled little mind but I dunno what Program Colors OpenW 1 Pause 0.05 ClearW ShowPage Get_Screensize sx%, sy%, sw%, sh% Get_Geometry 1, wx%, wy%, ww%, wh% Print "Screen", sx%, sy%, sw%, sh% Print...
Graphics fail to display properly or sometimes at all, at least in the graphics window's upper left corner, if the window width exceeds 16383 or the height exceeds 32767. Next gen 16K resolutions should be OK, but multi-16K monitor setups or 32K are going to be trouble. Seen in Windows 10 64-bit v. 10.0.19045.3930 running on an ancient Lenovo G50-30 with 8GB RAM and 2TB HDD. I haven't tried it in Windows 11 yet.
Maybe FORK will be good enough, if it and the SHM commands work reasonably on every platform of interest, hopefully also on Android. Umm, wut ... Print "SHM_MALLOC("; 4 * Cores% * (NItems% + 2); ", 4711)" ! sdid% = MALLOC(4 * Cores% * (NItems% + 2)) sdid% = SHM_MALLOC(4 * Cores% * (NItems% + 2), 4711) Print "Shared memory ID = "; sdid% ! sd% = sdid% sd% = SHM_ATTACH(sdid%) If True ! c0% = 0 Print "Shared memory attached at "; Hex$(sd%) EndIf ... results in, at least in Windows 10 64-bit Version 10.0.19045.3803,...
I had a few more bad ideas regarding SPAWN and maybe extending AFTER and EVERY to work with threads. Maybe it should be possible to pass additional parameters to SPAWN that would then be passed to the spawned proc, and then when threads exit, a proc in the main program could be triggered, if only to set a flag or interrupt a PAUSE. So, something like this, For i% = 0 To n% Spawn Worker, i%, j%, k%, ... Next i% oops% = True After Threads AllWorkersDone Pause 60 If oops% Print "Timeout, threads are...
I'm seeing this in Android and Windows. Results from LTextLen are too big by about one character's worth. I haven't used DefLine in setting things up, only Color and DefText, typically DefText 1, 0.2, 0.3, 0 or DefText 1, 0.06, 0.06, 0 and such. I noticed when doing centering and right justifying. You really see it when doing something like, LText x0%, y0%, T$ Draw x0%, y0% + 10 To x0% + LTextLen(T$), y0% + 10 EDIT: It might help to attach the right screenshot
I'm seeing this in Android and Windows. Results from LTextLen are too big by about one character's worth. I haven't used DefLine in setting things up, only Color and DefText, typically DefText 1, 0.2, 0.3, 0 or DefText 1, 0.06, 0.06, 0 and such. I noticed when doing centering and right justifying. You really see it when doing something like, LText x0%, y0%, T$ Draw x0%, y0% + 10 To x0% + LTextLen(T$), y0% + 10
I'm seeing similar behavior in Android and Windows. Line and Draw x, y To x1, y1 work as expected, but the combination of Plot x, y and Draw To x1, y1 fail strangely. (EDIT: ...and not always in the same way every time) What's going on? I can work around it easily enough , but blegh Full size in all its glory, TMI link, Title goes here I guess?
I'm seeing similar behavior in Android and Windows. Line and Draw x, y To x1, y1 work as expected, but the combination of Plot x, y and Draw To x1, y1 fail strangely and not always in the same way. What's going on? I can work around it easily enough , but blegh Full size in all its glory, TMI link, Title goes here I guess?
It just doesn't want to play nice with me. It only wants to run when the current directory is "C:\Program Files (x86)\X11-Basic\" but then either the GUI can't navigate out of that directory back up to "C:\Users\yat\OneDrive\Projects..." or switch over to my Google Drive "G:\My Drive\Projects..." or my attempts to pass the output and input files by the command line also fail with obscure error codes. I'll grab some screenshots later and update this. XBBC and XBVM work just fine with whatever funky...
I have to walk that back a bit. An 8GB Chuwi tablet starts slowing down at about the same point as my ancient but upgraded 8GB Lenovo G50-30. Program AddTest Clr Start, V$, W$, X$, Y$, Z$, c%, i%, t% Start = Timer i% = 1e5 t% = 2e9 Print t%, i% Clr V$, W$, X$, Y$, Z$, c% Do Add V$, "*" Add W$, "-" Add X$, " " Add Y$, "." Add Z$, ":" Inc c% If 0 = (c% Mod i%) Print c%, Timer - Start Exit If t% = c% If 10 = (c% / i%) Mul i%, 10 EndIf EndIf Loop Print c%, Timer - Start Print Len(V$), Len(W$), Len(X$),...
The realloc() being used for Android is much friendlier to Add Huge$, X$ than Windows', especially when more than one huge string is being built at the same time. In Windows, things go badly quadratic when only a few tens of millions of characters are being slung around, but on Android, quadratic behavior doesn't become obvious until the total character count reaches 1.5 billion or so. Tests in other environments would be useful. I'll post the code after I clean it up a little.
Do the apk builds at https://f-droid.org/en/packages/net.sourceforge.x11basic/ still omit the bignum support library and others? If so, which libraries? Thanks!
Hey, long time no see. There seems to be an issue with the documentation web pages. For example, clicking on the link to xbasic(1) from https://x11-basic.sourceforge.net/ybasic.1.html yields a 404 error.
You'll want to look at xbbc and xbvm to the middle right here: https://x11-basic.sourceforge.net/x11basic.html Also perhaps xbc if you have a C compiler set up on your system xbasic.exe and the others are typically installed here, Directory of C:\Program Files (x86)\X11-Basic 07/08/2019 01:45 PM 834,560 xb2c.exe 07/08/2019 01:44 PM 815,616 xbasic.exe 07/08/2019 01:44 PM 871,424 xbbc.exe 07/08/2019 01:45 PM 826,980 xbc.exe 07/08/2019 01:44 PM 816,640 xbvm.exe 5 File(s) 4,165,220 bytes
Yikes, sorry for the activity notification spam everyone 🤦🏻♂️
Wow. It's been a while. Well, I figured GFA/X11-Basic would be the perfect language to mangle the output from Atari BASIC and Atari LOGO written to the virtual cassette tape, since 4KB for a filesystem driver is just too much bloat 😂 into something the host OS can work with, or a maybe completely different OS, because why not. Don't worry, all the debug cruft only goes to the screen, never the output file🤗 Edited some formatting errors, and how did the subject get deleted and the post wind up in...
Wow. It's been a while. Well, I figured GFA/X11-Basic would be the perfect language to mangle the output from Atari BASIC and Atari LOGO written to the virtual cassette tape, since 4KB for a filesystem driver is just too much bloat 😂 into something the host OS can work with, or a maybe completely different OS, because why not. Don't worry, all the debug cruft only goes to the screen, never the output file🤗 Edited some formatting errors, and how did the subject get deleted and the post wind up in...
Wow. It's been a while. Well, I figured GFA/X11-Basic would be the perfect language to mangle the output from Atari BASIC and Atari LOGO written to the virtual cassette tape, since 4KB for a filesystem driver is just too much bloat 😂 into something the host OS can work with, or a maybe completely different OS, because why not. Don't worry, all the debug cruft only goes to the screen, never the output file🤗 Edited some formatting errors, and how did the subject get deleted? Altirra, an 8-bit Atari...
Wow. It's been a while. Well, I figured GFA/X11-Basic would be the perfect language to mangle the output from Atari BASIC and Atari LOGO written to the virtual cassette tape, since 4KB for a filesystem driver is just too much bloat 😂 into something the host OS can work with, or a maybe completely different OS, because why not. Don't worry, all the debug cruft only goes to the screen, never the output file🤗 Edited some formatting errors Altirra, an 8-bit Atari computer emulator CAS file format - description...
Wow. It's been a while. Well, I figured GFA/X11-Basic would be the perfect language to mangle the output from Atari BASIC and Atari LOGO written to the virtual cassette tape, since 4KB for a filesystem driver is just too much bloat 😂 into something the host OS can work with, or a maybe completely different OS, because why not. Don't worry, all the debug cruft only goes to the screen, never the output file🤗 EDIT The " . / * " is getting mangled in the code block, why? Altirra, an 8-bit Atari computer...
Wow. It's been a while. Well, I figured GFA/X11-Basic would be the perfect language to mangle the output from Atari BASIC and Atari LOGO written to the virtual cassette tape, since 4KB for a filesystem driver is just too much bloat 😂 into something the host OS can work with, or a maybe completely different OS, because why not. Don't worry, all the debug cruft only goes to the screen, never the output file🤗 Altirra, an 8-bit Atari computer emulator CAS file format - description ~~~ Program CASDump...
Wow. It's been a while. Well, I figured GFA/X11-Basic would be the perfect language to mangle the output from Atari BASIC and Atari LOGO written to the virtual cassette tape, since 4KB for a filesystem driver is just too much bloat 😂 into something the host OS can work with, or a maybe completely different OS, because why not. Don't worry, all the debug cruft only goes to the screen, never the output file🤗 Altirra, an 8-bit Atari computer emulator CAS file format - description ~~~ Program CASDump...
Hello Markus, its me :) thanks a lot for your really timely and helpful reply! after posting, i have been reading in the linux section of this discussion board and found similar posts. Linux Mint 19.3 (from 2019, i guess? Support until April 2023) offers libreadline.so.5 and libreadline.so.7, as you assumed. So it seems like I have to check out Linux Mint 20.3. (current release as of February 2022). BTW, is there a possibility to link X11 Basic against a version independent libreadline.so ? thanks...
Hello, I selected to always open basic file with editor but I would like to change it and select a different one. I'm using android.
Can I use screen and window commands like openw, closew, sizew,titlew,Infow etc on android version?
Well to answer my own question, the main difference I've discovered so far seems to be speed for pixel writing operations, so filltest.bas gets a massive speedup under a SDL build, but it's not always consistent, ie fractaltree.bas seems to be faster under X11. Also there seems to be problems using TrueType fonts under either windowing system, ie the deftext command doesn't change text size under SDL, but resizing works under X11, but the X11 text rendering has a jaggard edged appearance. I guess...
Hi just wondering if there is much benefit to trying to build the SDL version of X11basic, it seems everything else has moved on to SDL2 so that might the better choice long term, but does SDL1.2 have anything to offer over the default X window on Linux?
Hi Clyde, I need more details of what you have tried. May I assume, that you have used Version 1.22? This is way outdated. You should try the moset recent version of X11-Basic, which is 1.28. Here are the most recent sources: https://codeberg.org/kollo/X11Basic Or if you need a .tar.gz file: https://codeberg.org/kollo/X11Basic/releases or a binary install file (most recent there is 1.27) (The files on sourceforge are not so recent, sorry there is nobody who has time to clean up or update the ancient...
configure fails
Yes it is possible. However you would need to compile X11-Basic from the sources. Maybe you can create a fake libreadline.so.7 which is a copy of .8. but I do not know if that works. BTW: Olter versions of X11-Basic have the libreadline.so.7 as requirements. Try old .deb files from the time, .7 was most recent. (however you would get an old version of X11-Basic, thats not so good).
Hi me, It looks like the libreadline is missing. Usually this can be installed from the readline package. But it needs to be the correct version (8). Older linux distributions come with the Version 7 of readline. This X11-basic package needs Version 8.
downloaded the X11 Basic .deb package, installed it (via clicking on it, gdebi-gtk, this installed 10 additional files - see screenshot - but apparently not the one in the error message), created hello.bas file PRINT "Hello" PAUSE 10 END opened terminal xbasic hello.bas and got me@me-820-G2:~$ xbasic hallo.bas xbasic: error while loading shared libraries: libreadline.so.8: cannot open shared object file: No such file or directory any hints? do i have to set a directory? close other windows? thanks...
Ich habe den Fehler mal in unser Bug-Tracking auf codeberg mit aufgenommen. (Ich hoffe, das ist so i.O. für Dich) Die Haupt-Code-Entwicklung geschieht inzwischen nicht mehr auf Sourceforgse sondern dort. https://codeberg.org/kollo/X11Basic/issues/6
Ich habe den Fehler mal in unser Bug-Tracking auf codeberg mit aufgenommen. (Ich hoffe, das ist so i.O. für Dich) Die Haupt-Code-Entwicklung geschieht inzwischen nicht mehr auf Sourceforgse sondern dort.
Ja, stimmt. Mit dem WIndows-Emulator (wine) kann ich es reproduzieren. Seltsam!
Hab gerade Dein Programm laufen lassen. Offenbar auch alles in Ordnung. > xbasic test.bas > more testb.txt dez hex bin Dann muss es ein spezifisches WINDOWS Problem sein.
Hallo Hartmut, Danke für das Feedback. Das ist ja ein Ding. Offenbar wird die letze Ziffer abgeschnitten. Aber ich habe versucht, das mal auf die Schnelle zu reproduzieren (hier auf meinem Linux-System), da ist zumindest alles in Ordnung. print bin$(8) 1000 print bin$(4) 100 print bin$(8,8) 00001000
Bug bei Stringfunktion BIN$?
DIM also redimensions, a la C's realloc() or MS BASIC'S REDIM PRESERVE. Use LOCAL to declare an array within a function or procedure. I don't think X11 Basic was designed to be a "functional" language like LISP or LOGO. You might be able to get close by abusing strings or creating your own list arena in a global dynamic array, kind of like how 1983 Atari LOGO did its memory management.
Well, you can at least put the array as "by reference" in the parameter list. (See the VAR statement). This way your subroutine can modify the array content.
What the topic says. If that's true and I am not missing something, all arrays need to be global.
Also (that was I btw, I thought I was logged in), arrays are not dynamic so I can't just dim an array and then push more values. Correct?
i try to install vxl library in my mac os, and i receive this error: Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB) OPENJPEG2_INCLUDE_DIR (missing: OPENJPEG2_INCLUDE_V2 OPENJPEG2_LIBRARIES OPENJPEG2_LIBRARIES_V2) OPENJPEG2_INCLUDE_DIR (missing: OPENJPEG2_INCLUDE_V2 OPENJPEG2_LIBRARIES OPENJPEG2_LIBRARIES_V2) -- Found Tiff (v3p library) -- Found GeoTiff (v3p library) Trying to find DCMTK expecting DCMTKConfig.cmake Trying to find DCMTK expecting DCMTKConfig.cmake - failed Trying to...
Yes, this is exactly what I used and it is installed correctly But my issue is that I can't run my programs from my project folder unless I open x11basic and type load "g:/fullpath/test.bas" I just wonder if there is an easier way to launch x11basic and the program under windows. A single command if you will. Something like that will speed up my development time. I actually chose x11basic for this project because I need to do this project fast and I think that my familiarity with GFA (and X11) will...
Well there is actually an installation package for X11-Basic on WINDOWS. It is on codeberg: https://codeberg.org/kollo/X11Basic/releases Maybe this is what you want?
Hello, so I want to create an environment to create a project under windows. I've installed the binary which was very easy (btw, under linux mint there was a problem with libreadline7 being a requirement so the deb package wouldn't install and I had to compile from source which brought issues with imagemagic and ghostscript. Would you consider releasing an appimage or something? ). Now since I want to be able to run the programs I create there seems to be an issue with calling xbasic.exe test.bas....
Hi, it seems multiplying large integers silently gives incorrect results instead of raising an error, at least in both interpreted and compiled programs on Android and interpreted programs in Windows. The incorrect results appear to differ by platform. The quick fix is to force a type conversion to real sooner rather than later, as seen with the calculation for R2.
I used the latest Android version, 1-63, to compile some .Bs, but what I believe is the latest Windows version doesn't like them. I have yet to try compiling on Windows and running on Android.
I was cheating at a Presh Talwalkar puzzle when I found something interesting. When the number of terms is low, both the source and compiled versions give the same presumably correct result, but the result is wildly different when Lim% is large. This is on a Samsung Galaxy S20 FE 5G running Android 11 with "Enhanced processing" turned off. Program Cambridge ' CLS ShowK Input "Lim%? ", Lim% HideK Start = CTimer Clr Total For i% = Lim% DownTo 0 ' Print i%, (-1)^i%, i% + 1, i% + 3 ' Print i%, ((-1)^i%)...
Since it's a modified version of Android, I wonder if X11 Basic and a .b or two could be installed on it and launched. https://9to5google.com/2021/07/27/latest-galaxy-watch-4-leak-teases-watchfaces-wear-os-apps-and-more-video/
There's something about doing screen rotations, resizing, and showing and hiding the on screen keyboard while xbasic 163 is running in a split screen on a Vankyo S30 tablet running Android 9 that the terminal emulator doesn't like. A red "Terminal-emulation: ERROR: Esc-[-118" appears at the top left, much like the green "WxH characters." at the top right. The error message can also be, "Terminal-emulation: ERROR: Esc-8-118" Of course the keyboard event queue glitch is still present. However, any...
There's something about doing screen rotations, resizing, and showing and hiding the on screen keyboard while xbasic 163 is running in a split screen on a Vankyo S30 tablet running Android 9 that the terminal emulator doesn't like. A red "Terminal-emulation: ERROR: Esc-[-118" appears at the top left, much like the green "WxH characters." at the top right. Of course the keyboard event queue glitch is still present. However, any resizing of the window, not just device rotations, can cause it. And now...
There's something about doing screen rotations, resizing, and showing and hiding the on screen keyboard while xbasic 163 is running in a split screen on a Vankyo S30 tablet running Android 9 that the terminal emulator doesn't like. A red "Terminal-emulation: ERROR: Esc-[-118" appears at the top left, much like the green "WxH characters." at the top right. And now X11 Basic shows up twice in the task list, but both tiles bring up the same running instance. Weird.
Yellow on black does work rather well with Basic in pop-up mode on Samsung devices, seemingly better than other text colors
It's working now on Android 4.4.4, 5.1.1, 8, 9, 10, and 11. I don't have any Android 6 or 7 devices to try it on.
It's working now on Android 4.4.4, 5.1.1, 8, 9, 10, and 11.
There's something about doing screen rotations, resizing, and showing and hiding the on screen keyboard while xbasic 163 is running in a split screen on a Vankyo S30 tablet running Android 9 that the terminal emulator doesn't like. A red "Terminal-emulation: ERROR: Esc-[-118" appears at the top left, much like the green "WxH characters." at the top right. And now X11 Basic shows up twice in the task list, but both tiles bring up the same running instance. Weird.
There's something about doing screen rotations, resizing, and showing and hiding the on screen keyboard while xbasic 163 is running in a split screen on a Vankyo S30 tablet running Android 9 that the terminal emulator doesn't like. A red "Terminal-emulation: ERROR: Esc-[-118" appears at the top left, much like the green "WxH characters." at the top right.
Hey, long time no see. I hope you're doing well. It seems SourceForge still shows 1.27-62c as the current version, not the 163 build you put up on F-Droid. Does 163 need some additional beating on before it becomes official? Any features in particular I should be sure to torture in addition to the new PIE SQLite and what's mentioned at https://f-droid.org/en/packages/net.sourceforge.x11basic/ ? Thanks!
Will it be possible to create apk packages for Android in the near future? The package could contain the X11-basic virtual machine which, when installed, would run the attached byte code of our program.
Oh no, this is starting to look too much like MapReduce
Well, to make use of more Processor-cores, I had the idea to use OpenMP wherever it makes sense, but, in the end, I thought: who needs that? It is a big effort for little gain. The FORK kommand works at least. And one can split the most critical tasks in several sub-programs which can be excecuted (with SYSTEM) in parallel, if needed. Interprocess communications via files (/run/shm/) or so. To keep it easy. But If you really want, and can provide help, one could improve X11-basic step by step also...
No problem! So don't use SPAWN in anything other than gcc/tcc compiled programs for Unix/Linux? At least in the interpreter under Android and Windows, SPAWN appears to behave just like GOSUB instead of making the interpreter go haywire. But all the idle cores on my Android and Windows devices! :'-(
Well, as said in the manual: This command is not fully implemented and at the moment messes up the program execution stack of the interpreter since all internal control structures are accessed by two threads. Anyway, in a natively compiled program this can work as expected. It definitively does not work on WINDOWS and ATARI/TOS. On Android maybe. It is realized with the fork() command internally (and this does not behave like threads, which you probably have in mind.) and I am not sure if an app...
This is my first attempt to use the SPAWN command. Can it be used on Android? Is busy waiting like this my only option? Is it best reserved for compute-bound things like long calculations, so calls to I/O or graphics don't clobber each other? Am I more or less on the right track? Thanks! Program OnMyLastThread Dim ThreadResults(10), ThreadFlags%(10) Clr t_i%, t_x, t_y, t_z, t_launch% Clr Done%, i% For i% = 0 To UBound(ThreadResults()) - 1 Print "Thread "; i%; Flush ! Set parameters in global variables...
What is your concern about in detail?
How might this impact the (framebuffer?) version available for download? The Raspberry Pi 4 brings faster CPU, up to 4GB of RAM More CPU power, more RAM, and more... displays? https://arstechnica.com/gadgets/2019/06/faster-raspberry-pi-4-promises-desktop-class-performance/
I have made a .deb for debian jessie. Still Interested?
A new version is out. 1.27-62 See here: https://codeberg.org/kollo/X11Basic/releases
sqlite should work (again) with the new versions of X11-Basic 1.27-63. So this issue is fixed now.
Well, there is the tool barcode on liniux. You can simply do a SYSTEM "barcode -b "Hello World" -E -o barcode.eps" to generate a barcode (into the file barcode.eps).
OK. So at least this is not a general issue here. Thanks for testing. So, i suggest, if the OP has no further details, we can close this issue here.
Ok, great. Thanks for testing. So this issue can be closed.
This is a good question. I have encountered this also on a linux system. It looks like the port (in your case 5510) gets blocked for a long time. This can happen, when the socket is not closed. e.g. when the program aborts (with an error or even crashes) before the close. Or if the connection gets broken/interrupted. Why it takes so long for the system to detect this, I dont know. If you can always close the socet, then it should not happen and the port would get released. If you want to write a...
Hello Markus, thank you for x11basic, i like it very much. But now i have the following question. My program uses socket communication by TCP on a Samsung mini with Android 4.4 by cyanogenmod. ---------------- the prog ------------------------------- Listener=freefile() OPEN "US",#Listener 1,"",5510 ! open socket do exit IF INP?(#1) ! wait for cliemt to connect loop Kanal=freefile() OPEN "UA",#Kanal,"",1 ! open channel Here i do some communication until i exit a loop and ! do the work finish the...
FWIW, I can't reproduce the issue in Android 11 or 9 using 1.27-62c EDIT: I can't reproduce the problem in any device, running Android 4.4.4, 5.1.1, 9, 10, or 11 using the new xbasic version 1.27-63. The VER command in this version should return X11-BASIC Version: 1.27 Jan 24 2021 21:17:31 You may need to uninstall any previous version, including clearing the app data and deleting all the sample stuff from the bas folder, especially if you've tried running the sqldemo sample program.
sqldemo now works on all my Android devices, 4.4.4, 5.1.1, 9, 10, and 11. Muchas gracias!
FWIW, I can't reproduce the issue in Android 11 or 9 using 1.27-62c
I have a device supposedly running Android 10 that should arrive sometime today. Hopefully I'll be able to check the issue. Venturer 14" Luna Max [VCT9T48Q34RBM] Quad-Core 3GB RAM 64GB Storage IPS 1920 x 1080 FHD Touchscreen WiFi Bluetooth with Detachable Keyboard Android 10 Tablet
X11-Basic now at codeberg
This library is only needed if you want to compile standalone excecutables for MS WINDOWS. It need to be installed in the general X11-Basic folder. It is already outdated.
Hm. That would be a mayor issue. Unfortunately I do not have any Android 10 Device to confirm or test. Does anybody else also have this problem?
Great, many thanks!
It works (at least on linux). Maybe this is an issue for the WINDOWS version. (?) Am I right?
At least it used to have a syntax definitoin file for X11-Basic. Maybe it is removed now, I have not recently tested it. The systax definition file for X11-Basic for "920 Text-Editor" can be found here: https://codeberg.org/kollo/X11Basic/src/branch/master/doc/editors/920.conf
Spaces are significant. If you want X11-Basic to calculate something, without assigning it to a variable or printing, the line has to start with a digit (0-9) otherwise the first word is interpreted as a command. so, do a 1*sqrt(2) instead. Yes, the variable ANS will hold the result of the latest of such calculations.
The issue on Android 5.0 up to 9 has been fixed now. Please test the most recent version: 1.27-63 (163) p.ex. found here: https://f-droid.org/en/packages/net.sourceforge.x11basic/
Yes, the sqlite excecutable is likely to work on Android (tested from 5.0 up to 9 with X11-Basic for Android recent version currently availabe on f-droid, Version 1.27-63 (163) ). https://f-droid.org/en/packages/net.sourceforge.x11basic/ But: You will have to delete the old sqlite excecutable file in the bas/ folder. For the example programs, please look at the repository: https://codeberg.org/kollo/X11-Basic_examples