Global etc (Release Announcements)
by johnno56, Thursday, May 01, 2014, 23:29 (1061 days ago)
I am using Linux with Basic-256 v 0.9.6.66 and have noticed a few commands that do not work. Global; Function; Subroutine and call. (not sure of any others - I haven't been using basic256 for very long...)
Am I correct in assuming that these commands are only available in the Windows version? If so, when will the equivalent Linux version, be released?
There is an updated Ubuntu PPA for BASIC-256 that you can install on your LINUX box at https://launchpad.net/~basic256/+archive/basic256 . Follow the directions for adding the archive and then you should have a very recent install.
I am currently working on getting the current development version to build in the ppa environment and should have that published soon.
I do know that many LINUX/MAC users have had success downloading the Windows installer and using Wine.
Thanks for the info, Jim.
Added the ppa to my repositories but the 1.1 version did not load. The current .9.6.69 version loaded instead. I can only assume that the 1.1 package has not been prepared yet. In the meantime, I am running the latest version, via Wine. Looking forward to the new version for Ubuntu.
by John Baldwin, Sunday, May 11, 2014, 13:20 (1052 days ago)
Just letting you know that Basic256 v 126.96.36.199 now runs natively on Linux Mint.
ps: One of the example programs, rotating3dcube, has a command called 'floor'. I've not heard of that one. Could you explain what exactly it does and provide maybe a small sample listing? Many thanks.
The FLOOR function returns the INTEGER less than or equal to the number passed. It works like int but for numbers less than zero it returns one less. CEIL returns the integer greater than or equal.
for t = -2 to 2 step .25
print t + " " + int(t) + " " + floor(t) + " " + ceil(t)
-2 -2 -2 -2
-1.75 -1 -2 -1
-1.5 -1 -2 -1
-1.25 -1 -2 -1
-1 -1 -1 -1
-0.75 0 -1 0
-0.5 0 -1 0
-0.25 0 -1 0
0 0 0 0
0.25 0 0 1
0.5 0 0 1
0.75 0 0 1
1 1 1 1
1.25 1 1 2
1.5 1 1 2
1.75 1 1 2
2 2 2 2
I do have a question about the install 0f 188.8.131.52? have you tried the WAVPLAY or database statements? I am still having dependency loading issues but there should be a fix for that real soon.
by John Baldwin, Tuesday, May 13, 2014, 00:11 (1050 days ago)
Many thanks for the 'floor' info. I had no idea what floor and ceil actually did.
In regards to the install. Two things happened. 1. I executed the 'wine' version by mistake and 2. I wasn't wearing my glasses at the time and mis-read 184.108.40.206 Apologies for that.
I haven't used the wavplay or database functions yet. I am gradually working my way through the 'popular' or 'most used' commands. Haven't tinkered with the sound system yet. (except for speech - reminds me a lot of the very early microsoft speech synth) - Can the speech engine be changed, or is it 'hard coded' ?
Yesterday I updated the ppa:basic256/basic256 to 220.127.116.11 for ubuntu 13.10 and 14.04 and everything is testing correctly (sound, database...)
Your question about the TTS engine is that yes it is hard coded. I am using the eSpeak library DLL in Windows and lib in LINUX. It allows for internationalization (go to settings to set language) and sounds OK. It was chosen because of issues with M$ voice SDK and creating a program that works across platforms that maintains open source.
by John Baldwin, Thursday, May 15, 2014, 22:57 (1047 days ago)
Thanks Jim. I kind of figured that the speech was hard-coded, but I also hoped that it wasn't. No problem. I will make do with what we are given.
Thank you for updating to 18.104.22.168. Much appreciated.
by cub256, Wednesday, January 07, 2015, 03:11 (811 days ago)
Jim, you said
go to settings to set language...
will I have to change my Ubuntu (14.04) settings from English to, say, French or German to have the command "say" pronounce the words in French or German?
by cub256, Tuesday, January 06, 2015, 21:45 (812 days ago)
Thank you Jim! Being a BASIC256 newbie just joined this forum a few minutes ago and... found how to upgrade my "outdated" BASIC256 in Ubuntu 14.04 to your version. Works great!
P.S. I will be coming back to you later re speech - during one of my tinkering with BASIC256 installations on Windows 8, a got a female French voice instead of the male English one with the command "say"!
by cub256, Wednesday, January 07, 2015, 17:35 (811 days ago)
"99 bottles of beer" from rosettacode http://rosettacode.obasicrg/wiki/99_Bottles_of_Beer/Basic#BASIC256 did not work at all! So, I uninstalled your BASIC256 version and returned to Ubuntu 14.04's own BASIC256 version 0.9.6.69a-1... and it works beautifully with the 99 bottles