12.23

Started by chrisws, August 31, 2021, 11:17:45

Previous topic - Next topic

chrisws

Version 12.23 is ready to go.

Thanks everyone for suggestions and bug reports. Hopefully these have been mostly covered.

https://github.com/smallbasic/SmallBASIC/releases/tag/v12.23

I've also released AppImages for the SDL and FLTK versions for linux.

There are also a handful of new programs in the examples folder.

The version number jump was due to a couple of android only releases.

bplus

#1
Can the Modules programs be run with the g version of sb?

Does import know to look in same folder as sb?

Does it know to drop the lib prefixes from the dll's.
1 person likes this

chrisws

Hi MGA!

> Can the Modules programs be run with the g version of sb?

For the non-gui modules clipboard and web-sockets - yes. For the other modules - maybe, but I've only really tested these with the console version (sbasic).
The -m option seems to require the full path with sbasicg.exe

> Does import know to look in same folder as sb?
The import line uses the module path (-m option argument) or the SBASICPATH environment variable.

> Does it know to drop the lib prefixes from the dll's.
Yes!

Hope this helps.

bplus

For kicks I tried a drag drop of Calculator.bas onto sbasicg.exe and I was told I needed nuklear.sbu file.

Surely sbasicg.exe should be able to find files in it's own folder?
1 person likes this

Aurel [banned]

QuoteSurely sbasicg.exe should be able to find files in it's own folder?

Yes it should if use windows api fn GetCurrentDirectory
like this :

GetCurrentDir 256,strptr cdPath32
(Y)

jsalai

#5
Just installed the Android version.
The keyboard hide/show works fine, so now with some care (inserting some "pause"s and/or "screen-saves/restores") we can easily use the whole screen for graphics!
It takes a few minutes to implement in a heavy program!

Good job, and thanks!

As I use the the SDL version for programming and testing it would be great if the prog would "flag" when those events (up/down) happen.... Just kidding :)
I won't belong to any organization that would have people like me as members.
[Groucho Marx]

chrisws

Quote from: bplus on September 02, 2021, 17:17:15
For kicks I tried a drag drop of Calculator.bas onto sbasicg.exe and I was told I needed nuklear.sbu file.

Surely sbasicg.exe should be able to find files in it's own folder?

In the current version, the module argument (-m path) needs to be explicitly passed to enable module support.

This avoids hurting runtime performance by only loading DLLs when required.

bplus

Quote from: chrisws on September 05, 2021, 10:54:48
Quote from: bplus on September 02, 2021, 17:17:15
For kicks I tried a drag drop of Calculator.bas onto sbasicg.exe and I was told I needed nuklear.sbu file.

Surely sbasicg.exe should be able to find files in it's own folder?

In the current version, the module argument (-m path) needs to be explicitly passed to enable module support.

This avoids hurting runtime performance by only loading DLLs when required.

I haven't typed command line stuff regularly since DOS days of old, now I am so rusty it is agonizing. Maybe that's my problem but couldn't IMPORT take a path with the name of import. Oh let me check...
1 person likes this

bplus

#8

import \Users\marka\Downloads\smallbasic_12.23\12_23\nuklear as nk    'try adding path

Dang! the path added to import got me past the missing nuklear.sbu error but now this: see attached

Does that mean nuklear really didn't load or is there an error in program?
1 person likes this

johnno56

Chris,

Thank you for version 12.23   :D

I like the FLTK appimage. In particular the themes. Any more themes? Are the 'hard coded'? If not how can they be made? Just curious.

But, most importantly, will there be a Klingon version? Nuqneh Qapla ... lol
Nah... Kidding... Great job... (Ok... maybe a 'lite' version in Vulcan?)
May your journey be free of incident.

Live long and prosper.

chrisws

Quote from: bplus on September 05, 2021, 16:02:10

import \Users\marka\Downloads\smallbasic_12.23\12_23\nuklear as nk    'try adding path

Dang! the path added to import got me past the missing nuklear.sbu error but now this: see attached

Does that mean nuklear really didn't load or is there an error in program?

That seems reasonable, but I'd need to make another update to support loading modules like that.

kay63

Nice examples!
I like creating QR-codes with my own messages!
Thank you Chris!

Cheers Kay