SpiderBasic 3.30 beta 2 is out !

Everything else that doesn't fall into one of the other categories.
Fred
Site Admin
Posts: 1884
Joined: Mon Feb 24, 2014 10:51 am

Re: SpiderBasic 3.30 beta 1 is out !

Post by Fred »

It's a regression, will be fixed in beta 2. Thanks !
hoerbie
Posts: 148
Joined: Sun Mar 17, 2019 5:51 pm
Location: DE/BY/MUC

Re: SpiderBasic 3.30 beta 1 is out !

Post by hoerbie »

Thanks, now the Beta 1 is downloadable. Will have a look in the next days.
Fred
Site Admin
Posts: 1884
Joined: Mon Feb 24, 2014 10:51 am

Re: SpiderBasic 3.30 beta 2 is out !

Post by Fred »

- 2026-05-27: beta 2 is out, with some bug fixes, and a new DateUTC() function.
User avatar
bembulak
Posts: 115
Joined: Wed Feb 26, 2014 9:53 am

Re: SpiderBasic 3.30 beta 2 is out !

Post by bembulak »

Fred wrote: Wed May 27, 2026 10:22 am - 2026-05-27: beta 2 is out, with some bug fixes, and a new DateUTC() function.
Great news, thank you!
Kind regards, bembulak

SpiderBasic 3.20 on Win11, Intel Mac, MX Linux
User avatar
Danilo
Posts: 73
Joined: Wed Feb 26, 2014 7:11 am

Re: SpiderBasic 3.30 beta 2 is out !

Post by Danilo »

Fred wrote: Wed May 27, 2026 7:43 am It's a regression, will be fixed in beta 2. Thanks !
Thank you very much for beta2 - that was fast! 🙏🏻👍

Here the 2 examples for OpenFileRequester from the help file, modified for SB 3.30:

Code: Select all

Procedure ButtonEvent()
  Filename$ = OpenFileRequester("", #PB_Requester_MultiSelection)
  	
  ; Process all the selected filename
  ;
  While Filename$
    Debug "Filename: " + Filename$
    Filename$ = NextSelectedFilename()
  Wend
EndProcedure
    
OpenWindow(0, 100, 100, 200, 55, "File")
ButtonGadget(0, 10, 10, 170, 25, "Open local file...")
BindGadgetEvent(0, @ButtonEvent())

Code: Select all

Procedure ButtonEvent()
  Filename$ = OpenFileRequester("")
  If Filename$
    Image = LoadImage(#PB_Any, Filename$, #PB_LocalFile)
    If Image
      ; Display the image in a new window
      OpenWindow(#PB_Any, 10, 10, 300, 300, "Image", #PB_Window_SizeGadget)
      ImageGadget(#PB_Any, 0, 0, ImageWidth(Image), ImageHeight(Image), ImageID(Image))
    EndIf
  EndIf
EndProcedure

OpenWindow(0, 100, 100, 200, 55, "File")
ButtonGadget(0, 10, 10, 170, 25, "Open local file...")
BindGadgetEvent(0, @ButtonEvent())
SB 3.30 beta is incompatible to SB 3.20. Maybe it‘s better to go to version number SB 4.0?
For example, old:

Code: Select all

OpenFileRequester(Pattern$, Callback)
Still runs, but means now

Code: Select all

OpenFileRequester(Pattern$, #PB_Requester_MultiSelection)
and fails silently.

Many codes need to be changed, so a new version number would be reasonable/justified. It‘s a major change.
cya,
...Danilo
Fred
Site Admin
Posts: 1884
Joined: Mon Feb 24, 2014 10:51 am

Re: SpiderBasic 3.30 beta 2 is out !

Post by Fred »

Makes sense, once all is up and running it will be 4.0.
Fred
Site Admin
Posts: 1884
Joined: Mon Feb 24, 2014 10:51 am

Re: SpiderBasic 3.30 beta 2 is out !

Post by Fred »

I'm just wondering, what's your Android (or IOS) app build time (from compile to full deploy on device) ? I got a very old PC and want to see what's the improvement with new.

Here (timed the second build, as the first one does some cache, launch gradle and adb etc):
- with 3.20: 3m20
- with 3.30: 1m15
User avatar
RBart
Posts: 35
Joined: Fri Jul 25, 2025 9:13 am
Location: Belgium

Re: SpiderBasic 3.30 beta 2 is out !

Post by RBart »

Hi Fred,

I appreciate the work. I love SpiderBasic. It's a great project.
But, I find it very difficult to work with images in Spiderbasic.
It's a lot of code to get just one image on the screen.
In modules it's nearly impossible, I didn't succeed until now. I have a topic open for this problem in coding questions;

I am trying it with this now:

Code: Select all

PictureButton = TextGadget(#PB_Any,20,650,100,100, "'<button type='button'onclick='f_klik()'><img src='512x512.png' alt='Button Image' style='width: 100px; height: 100px;'></button>")
But when I call the procedure klik() it doesn't work, inside a module.

To get an image on the screen this works in modules:

Code: Select all

Picture = TextGadget(#PB_Any,20,650,100,100, "<img src='512x512.png' width='100' height='100'>") 
But this is drawing a thin line around the image.

Greetings,
Rudi
💻 Exploring the world of SpiderBasic :o
User avatar
RBart
Posts: 35
Joined: Fri Jul 25, 2025 9:13 am
Location: Belgium

Re: SpiderBasic 3.30 beta 2 is out !

Post by RBart »

Fred wrote: Wed Jun 17, 2026 7:32 am I'm just wondering, what's your Android (or IOS) app build time (from compile to full deploy on device) ? I got a very old PC and want to see what's the improvement with new.

Here (timed the second build, as the first one does some cache, launch gradle and adb etc):
- with 3.20: 3m20
- with 3.30: 1m15
On Ubuntu 22.04 spiderbasic 3.20 complile took 40 seconds. I use my phone to test so I can't mesure that. Installing the APK doesn't take long neither.
Didn't try 3.30 yet.

Grts, Rudi
💻 Exploring the world of SpiderBasic :o
Post Reply