Global etc (Release Announcements)

by johnno56, Thursday, May 01, 2014, 23:29 (1264 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?

J

Ubuntu Installation

by Jim ⌂ @, Russell, KY, Tuesday, May 06, 2014, 16:19 (1260 days ago) @ johnno56

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.

Jim

Ubuntu Installation

by John Baldwin @, Thursday, May 08, 2014, 08:34 (1258 days ago) @ Jim

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.

Regards

J

Ubuntu Installation

by John Baldwin, Sunday, May 11, 2014, 13:20 (1255 days ago) @ John Baldwin

Hi Jim,

Just letting you know that Basic256 v 1.1.2.2 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.

Cheers

J

Ubuntu Installation

by Jim ⌂ @, Russell, KY, Monday, May 12, 2014, 13:57 (1254 days ago) @ John Baldwin

J,

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)
next 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 1.1.2.2? 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.

Jim

Ubuntu Installation

by John Baldwin, Tuesday, May 13, 2014, 00:11 (1253 days ago) @ Jim

Jim,

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 1.1.0.0 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' ?

Cheers

J

Ubuntu Installation

by Jim ⌂ @, Russell, KY, Thursday, May 15, 2014, 19:48 (1250 days ago) @ John Baldwin

John

Yesterday I updated the ppa:basic256/basic256 to 1.1.2.3 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.

Jim

Ubuntu Installation

by John Baldwin, Thursday, May 15, 2014, 22:57 (1250 days ago) @ Jim

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 1.1.2.3. Much appreciated.

Regards

J

Ubuntu Installation

by cub256, Wednesday, January 07, 2015, 03:11 (1014 days ago) @ Jim

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?

Thanks,

cub256

Ubuntu Installation

by cub256, Tuesday, January 06, 2015, 21:45 (1014 days ago) @ Jim

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!

Regards,

cub256

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"!

Ubuntu Installation

by cub256, Wednesday, January 07, 2015, 17:35 (1014 days ago) @ cub256

Shortlived joy :-(

"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 :-)

RSS Feed of thread
powered by my little forum