Author Topic: 0.12.13 Released  (Read 148 times)

chrisws

  • Moderator
  • Newcomer
  • *****
  • Posts: 7
    • View Profile
0.12.13 Released
« on: 13. September 2018, 12:35:41 »
SmallBASIC 0.12.13 is now available.

There's not a huge list of changes, but a few nice things.

- Pressing F2 in the editor now loads the help page in the new web site.
- Pressing F11 now toggles full-screen mode.
- Fixed the SEQ bug

Plus some other changes you can read about here:

http://smallbasic.github.io/posts/2018-09-13.html

Cheers,
Chris

PS: Check my new android game "Air cave"



B+

  • Hero Member
  • *****
  • Posts: 654
    • View Profile
Re: 0.12.13 Released
« Reply #1 on: 13. September 2018, 16:24:27 »
Ah good! Tested window sizing with Johnno's Parallax Image Test mod 2018-02-04 (attached) now mod'd again today.

Oh my full screen is full!, good bye task bar access. f2 works Window (help reference) is under graphics, I guessed System first.

« Last Edit: 13. September 2018, 16:27:42 by B+ »

B+

  • Hero Member
  • *****
  • Posts: 654
    • View Profile
Re: 0.12.13 Released
« Reply #2 on: 13. September 2018, 18:02:41 »
Another test of Window .ask
Code: [Select]
' window ask test.bas SmallBASIC 0.12.13 (B+=MGA) 2018-09-13

w = window()
w.ask("Would you like to test a yes or no question?", "Test a Yes/No Question")
? "You selected ";
if w.answer then print "No." else print "Yes."
pause



ScriptBasic

  • Guest
Re: 0.12.13 Released
« Reply #3 on: 13. September 2018, 21:10:59 »
Script BASIC using MsgBox.

Code: [Select]
' Msgbox Ask Y/N

IMPORT NT.sbi
rtnval = NT::MsgBox("Would you like to test a yes or no question?","Test a Yes/No Question", "YN", "H", 1)
IF rtnval = "Y" THEN
  NT::MsgBox("Yes","Result","ok","?",1)
ELSE
  NT::MsgBox("No","Result","ok","?",1)
END IF

      

Tomaaz

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: 0.12.13 Released
« Reply #4 on: 14. September 2018, 16:43:33 »
Script BASIC using MsgBox.

I know  there was a little confusion about the "SB" shorthand, but this topic is about SmallBASIC, not ScriptBASIC.

I've just build the newest version from source on 32-bit Linux and it seems to work fine. :)
Are lists always linked lists, that is the question. ;D

chrisws

  • Moderator
  • Newcomer
  • *****
  • Posts: 7
    • View Profile
Re: 0.12.13 Released
« Reply #5 on: 17. September 2018, 12:54:43 »
Script BASIC using MsgBox.
I've just build the newest version from source on 32-bit Linux and it seems to work fine. :)

Hi Tomaaz,

If you are okay with building from source code there's something you might like to try:

1. clone or download the SmallBASIC plugins project:
$ git clone https://github.com/smallbasic/smallbasic.plugins.git

2.  build the plugins project
$ ./configure && make

3. setup environment variable SBASICPATH, something like this:
export SBASICPATH=/home/chrisws/src/smallbasic.plugins/nuklear/.libs

4. switch over to your SmallBASIC checkout, then
$ ./configure && make

5. Run the nuklear overview.bas sample:
./src/platform/console/sbasic ../smallbasic.plugins/nuklear/samples/overview.bas

You should see something like the attached image

Here's a link to the overview.bas program:
https://github.com/smallbasic/smallbasic.plugins/blob/master/nuklear/samples/overview.bas


« Last Edit: 17. September 2018, 13:01:04 by chrisws »