Hi CW Thanks for the work done on xbasic! Compilation and creation happened sweetly. I find that the drop boxes still aren't working in v6.4.7? I will test some more and let you know. Regards David On Wednesday, August 13, 2025 at 04:33:02 PM GMT+2, cw2008can <cw2008can@users.sourceforge.net> wrote: Hi David I had a computer problem and replaced it. On the new computer, I installed Debian 12 and found some new problems. Then I actually took a rest from working on it for awhile. So here is xbasic-6.4.7....
Hi CW. How is XB 6.4.6 getting along? Cheers David
HI CWI tried XB 6.4.6, however, in the gui, the drop boxes don't work. If I revert to XB 6.4.5 my dropboxes all work. Something you could look into perhaps? Also, I miss the 32bit xb where it 'remembered' the last source opened? I've been trying to find that myself with very little success, (using Meld). It's not the end of the world though, but it was a nice feature. Regards David On Thursday, January 2, 2025 at 05:42:24 PM GMT+2, Robin Warner <rowaniar@users.sourceforge.net> wrote: Hi There, CW...
Hi CW. Thanks, that's a great Christmas present! Always happy to see XBASIC still growing and developing. Would you mind if I added you to the Admin group? (If I can anyway. Hugh was the one doing things around here initially but he has been quiet for a while now). Only be fair as you're the one constantly developing XB and then you can just add a new version directly instead of via messaging. Have a great Christmas ! David
Hi CWWow, 6.4.5 is really stable. In fact, it seems more stable than the 32bit version. Congratulations. I use xbasic every day for work and it has never let me down. Every utility I've written for work is still running today, 15 years after the initial one was written. And thanks to you they're all now 64 bit ... great work and thanks a lot!RegardsDavidPS. The group is really quiet... everyone okay? On Wednesday, August 30, 2023 at 03:26:47 AM GMT+2, cw2008can <cw2008can@users.sourceforge.net> wrote:...
After 24 hours of rigorous work XB64 has come through beautifully. The IDE is stable (more so than the 32bit one for sure), the compiled program is running stable.. Been running it for 8 hours straight. It's a dream to work with now. Again, thank you so much CW. Great work!! Really excellent work
It works!!! Perfectly. I just ran my existing db, added, updated, deleted, compiled, created an executable and it runs perfectly!! Thank you CW... Thank you so much. You just made my day...
And here's the dec file. Seems sourceforge only allows one file at a time... Thanks for the time, CW. Really do appreciate it
Hi CW Thanks. I've tried it but it seems very unstable. It crashes when I try and play Kittedy and still no connection to sqlite3. I'll attach the dec file and a demo. Been using the dec file for the last 13 years in the 32bit version (updated once or twice when there's a new feature I might use) so you can see what I'm saying.
Oops, no, the scrolling is still there. When I close an app, the console reads out lines and lines of data. That is not in the 64 bit version or earlier versions. It is what I was trying to eliminate. Thank you CW! Much much appreciate your time. Would you mind also looking into why xb64 crashes when I try and use mysql/sqlite3. As soon as I add an external reference it crashes. Again, thanks a lot! I really appreciate the time and effort you put into xbasic. Regards David
Terrific, it worked. Thank you CW! Much much appreciated. Would you mind looking into why xb64 crashes when I try and use mysql/sqlite3. As soon as I add an external reference it crashes. Again, thanks a lot! I really appreciate the time and effort you put into xbasic. Regards David
Hi CW xb 6.3.27 I was just wondering if you could remove the output in the xb term when I close an app running from the PDE... Every time I debug I have to scroll way back to get my output. Not the end of the world but would be nice. I couldn't figure out where in the source that specific print was. Regards David
Hi Hugh. I think what CW meant was you have to copy xb.dll to the same directory as your compiled executable. I don't have Win11 so cannot test it unfortunately... @CWHaving xb functions same as CFUNCTIONS... meaning all functions are passed as CFUNCTION? If it keeps xb going I am all for it... Regards David Sent from Yahoo Mail on Android On Wed, 5 Apr 2023 at 1:08, Hugh Cassxbhugh@users.sourceforge.net wrote: Hi CW: Yes in my C:\xb\bin windows 11 folder, I have both files: xb.dll; & xb.exe. I think...
Yes, I can confirm that too. Same happening on my side. Thank you CW, for the time and energy you are spending on xbasic. It is much appreciated. I still use xbasic daily so those upgrades and fixes are very welcome. Sent from Yahoo Mail on Android On Fri, 31 Mar 2023 at 12:14, Robin Warnerrowaniar@users.sourceforge.net wrote: Hi CW, For XBasic64-6.4.3 All operations tested in the PDE appear to work well. Artifex307.x is fine in the PDE. However, Run/Assembler - Run/MakeStandalone produces a program...
Voila I managed to fix the xapp.x problem. Changed the templates/Linux/xapp.xxx file to read STDLIBS = -L/usr/lib64 -L/usr/xb64/lib -lxb64 -lX11 -ldl and it works fine now. Did a reinstall with the amended file and my executable appeared. As long as I don't introduce a 'foreign' .dec file I now have 64 bit executables!!! Loving it!!!
Hi CW, and again a heartfelt thanks One minor problem I ran into. When I change the xapp.xxx file to read "STDLIBS = -L/usr/lib64 -L/usr/xb64/lib -lxb64 -lX11 -ldl" it no longer seems to affect the makefile? I have to adjust the makefile manually to get the proper executable. So xb64 no longer uses the templates folder? You may need to adjust that in your next version as it is still searching for your cw folder with the libs in. Also, I am having trouble getting sqlite3 to work in xb64. I keep getting...
Hi CW (Me again) I tend to use sqlite3 a lot and created a dec file a couple of years ago which I have successfully used to connect to sqlite3 databases. It works fine on the 32 bit version but when I try and run the program in the 64bit PDE I get the following error: XgrRegisterCursor() : XReadBitmapFile() failed : 2 0 /usr/xb64/images/hand.cur /usr/xb64/images/hand.msk Home directory = /home/watchman /srv/timbabase Prev setup failed Setting to /home/watchman/timbabase XxxXitMain(94):lockout 123456789...
Hi CW I found a problem in the makefile - STDLIBS = -L/home/cw/xb64/build64/lib -L/home/cw/xb64/build64/src/bin/ -lxb64 -lX11 -ldl Regards David On Monday, January 9, 2023 at 04:06:41 PM GMT+2, David <watchmann@users.sourceforge.net> wrote: I downloaded and installed debian 11... should have used debian a long time ago... xb64 pde opens normally. Compiled CW's freecell and it works!Now to figure out how to make my sqlite utilities work. I added the sqlite3.dec file and am back to ExceptionasegmentViolationXxxXitMain(94):lockout...
I downloaded and installed debian 11... should have used debian a long time ago... xb64 pde opens normally. Compiled CW's freecell and it works!Now to figure out how to make my sqlite utilities work. I added the sqlite3.dec file and am back to ExceptionasegmentViolationXxxXitMain(94):lockout 123456789XxxXitMain(118) : 11 7FFF3A8EDFB0 $$ExceptionSegmentViolation Sent from Yahoo Mail on Android On Fri, 6 Jan 2023 at 6:02, cw2008cancw2008can@users.sourceforge.net wrote: Thank you David. I am able to...
Well, it did exactly the same on Mint 20.3. Same error. Ive seen this on the 32bit version before. Think it had to do with libraries but cannot really remember... Sent from Yahoo Mail on Android On Mon, 2 Jan 2023 at 14:35, Davidwatchmann@users.sourceforge.net wrote: Hi CW... AND WOW!It installed pretty easily, however when I tried to run xb64 via terminal it crashed with the following output; XxxXitMain(94):lockout 100124 XxxXitMain(118) : 11 7FFEC5131C70 $$ExceptionSegmentViolation 1 0 0 0 139910472404585...
Hi CW... AND WOW!It installed pretty easily, however when I tried to run xb64 via terminal it crashed with the following output; XxxXitMain(94):lockout 100124 XxxXitMain(118) : 11 7FFEC5131C70 $$ExceptionSegmentViolation 1 0 0 0 139910472404585 $$ExceptionSegmentViolation 1 0 0 00000000 7F3F72020E69 $$ExceptionSegmentViolation !!! Environment error !!! at 7F3F72020E69 Segmentation fault This is on Makulu Linux Max (debian edition), Lenovo G570 laptop with Intel i5 (2nd Gen) and 16GB RAM. I will try...
Welcome back CW! Thanks so much for the upgrade. Sent from Yahoo Mail on Android On Mon, 5 Dec 2022 at 5:15, cw2008cancw2008can@users.sourceforge.net wrote: After upgrading linux to Debian 11, there was an error message: "Address 80000100 Invalid Access" Modified the SharedMemory() function in xit.x to use mmap() instead of shmget() Attached is XBasic-6.3.27-linux32-src.tar.gz CW Error in Linux Debian 11 Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/xbasic/discussion/4704/...
shared object/ executable
I have at last managed to solve this issue. Hopefully this will be updated in the next xb release. In XBASIC's template folder is a file xapp.xxx. This file is a template for the make file. Under CFLAGS, add -no-pie to the existing line and save (as root). This will 'fix' the shared object issue.
Added: using the terminal, the compiled file can be executed using "./object", but, that is not a preferred way of executing an executable...
shared object/ executable
Here is one I 'borrowed' from 'c-code'. May be more what you were looking for ' original c code can be found at the following website ' https://www.geeksforgeeks.org/program-for-factorial-of-a-number/ ' I VERSION "0.0001" CONSOLE ' IMPORT "xst" ' Standard library : required by most programs ' DECLARE FUNCTION Entry () DECLARE FUNCTION factorial (f) ' FUNCTION Entry () f$ = INLINE$ ("Type a number --> ") f = XLONG (f$) fact = factorial(f) PRINT "Factorial of "; f; " is "; fact a$ = INLINE$ ("Press...
Here is one I 'borrowed' from 'c-code'. May be more what you were looking for ' original c code can be found at the following website ' https://www.geeksforgeeks.org/program-for-factorial-of-a-number/ ' I VERSION "0.0001" CONSOLE ' IMPORT "xst" ' Standard library : required by most programs ' DECLARE FUNCTION Entry () DECLARE FUNCTION factorial (f) ' FUNCTION Entry () f$ = INLINE$ ("Type a number --> ") f = XLONG (f$) fact = factorial(f) IF error THEN error$ = ERROR$(error) : PRINT error$ PRINT "Factorial...
Hi Willem Very roughly done but I think you will get the picture... ' #################### ' ##### PROLOG ##### ' #################### ' ' A console program template ' VERSION "0.0001" CONSOLE ' IMPORT "xst" ' Standard library : required by most programs ' IMPORT "xsx" ' Extended standard library IMPORT "xio" ' Console input/ouput library ' IMPORT "xst_s.lib" ' IMPORT "xsx_s.lib" ' IMPORT "xio_s.lib" ' IMPORT "gdi32" ' gdi32.dll ' IMPORT "user32" ' user32.dll ' IMPORT "kernel32" ' kernel32.dll '...