We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 785
» Latest member: londonosteopath
» Forum threads: 212
» Forum posts: 2,220

Full Statistics

Online Users
There are currently 56 online users.
» 0 Member(s) | 55 Guest(s)
Applebot

Latest Threads
New project
Forum: Discussion
Last Post: litdev
10-13-2025, 09:09 AM
» Replies: 2
» Views: 39
LDGeography.GetAllCountri...
Forum: Extensions
Last Post: litdev
10-05-2025, 12:33 PM
» Replies: 5
» Views: 167
TCP/IP Socket Programming
Forum: Extensions
Last Post: litdev
09-27-2025, 03:36 PM
» Replies: 23
» Views: 2,034
Hi everyone
Forum: Discussion
Last Post: z-s
09-25-2025, 08:14 AM
» Replies: 0
» Views: 90
Prototype for 3D Small Ba...
Forum: Discussion
Last Post: sm4llprogrammer2008
09-24-2025, 09:50 PM
» Replies: 0
» Views: 114
Really great announcement...
Forum: Discussion
Last Post: sm4llprogrammer2008
09-24-2025, 09:41 PM
» Replies: 4
» Views: 359
Challenge 14 - Rainbow
Forum: Challenges
Last Post: martmen
09-20-2025, 01:42 PM
» Replies: 5
» Views: 352
Small Basic super slow ??
Forum: Standard Small Basic
Last Post: sm4llprogrammer2008
09-14-2025, 11:07 PM
» Replies: 27
» Views: 2,952
Sudoku Solver Publishe...
Forum: Standard Small Basic
Last Post: The Old Guy
09-01-2025, 06:20 AM
» Replies: 7
» Views: 512
Challenge 13 - Search uti...
Forum: Challenges
Last Post: martmen
08-29-2025, 10:13 AM
» Replies: 8
» Views: 786

 
  New project
Posted by: z-s - 10-13-2025, 02:04 AM - Forum: Discussion - Replies (2)

Hey everyone I am starting a new project for a peer to peer instant messaging app.
I have a good protocol to use.
But need someone for making gui in android or ios anyone here who know.

Print this item

  LDGeography.GetAllCountries
Posted by: martmen - 10-04-2025, 08:55 AM - Forum: Extensions - Replies (5)

Helo evrybody,

When I use  countries = LDGeography.GetAllCountries(), the result is "FAILED". Am I doing something wrong, or is the command not working properly?
Can someone provide a working example?

Best regards
martmen

Print this item

  Hi everyone
Posted by: z-s - 09-25-2025, 08:14 AM - Forum: Discussion - No Replies

Well I was really a fan of this forum time back when i used to learn SB.
And with the advice of litdev I learnt High level language for complex work.
But I kept a eye on this forum.
Currently I am starting a free subdomain service with my friend.
We need a vps.
 So if anyone here know good vps cheap our always free tell me.

Print this item

Thumbs Up Prototype for 3D Small Basic dialect
Posted by: sm4llprogrammer2008 - 09-24-2025, 09:50 PM - Forum: Discussion - No Replies

Hello!
I've been making a 3D Small Basic project in JavaScript, it's working great, and it's expanding!
Currently, there is a sketch and a working prototype:
1. Debug console (working!)
2. Run Code setting (working!)
3. IntelliSense (also working!)
4. Trigonometry (to be added)
5. More shapes (tba too)
6. Smarter IntelliSense (worked!)
7. Materials (will be added!!)
8. Procedural mesh generation (tba!)
9. Mesh importing (to be added!)
10. Image importing (to be added)
11. Language localization (wip)
12. API wrappers (wip)
13. Project hierarchy (to be added)

It's shaping to be a ceremony to Small Basic's testament of educating beginners and children alike, and will likely have impact


Hot reload setting worked.
Also gonna add UI manipulation and JS wrappers for Small Basic.

Also new additions:
Camera controls settings
WebGL renderer refreshing
Prototype inheritance
Arrays
If...EndIf, For...EndFor

More:
Trigonometry
Materials
Physics-based rendering
Meshes
Editor properly highlights comments
Backface culling toggle ('false' by default)

GraphicsWindow object is now 3DEnviroment, JS modals (alert, input, confirm) wrappers added

Also it is based on Babylon.js anyway (just saying)

Print this item

  Challenge 14 - Rainbow
Posted by: litdev - 09-15-2025, 08:38 AM - Forum: Challenges - Replies (5)

Write a program to draw a rainbow in the GraphicsWindow.

Print this item

Exclamation Really great announcement!
Posted by: sm4llprogrammer2008 - 09-14-2025, 08:57 PM - Forum: Discussion - Replies (4)

I was making a hobby project then ended up like a Flash-like animation app.
If I'm allowed to, I can send the GitHub link.
It is called Splash Animator 3.14 anyway.
Features:
File format .web-animx ('x' stands for XML)
Export options: HTML (well-tested), .web-animx (not buggy)
Programming language: CSS (to animate things you dropped on the Scene)
Version: 3.14 (major update with bug fixes)

I might improve it a lot to behave like Flash for our current web, but free and open, and so Small Basic could be it's programming language.
Mind if I can send the GitHub link?

We might end up making Small Basic famous (if the Flash community's criteria fits how Splash is designed).
The project evolved swiftly, and version 4.0 will add Small Basic (but the project would become Splash X, separately from the Splash Animator)


By programming language I mean Small Basic would be used to program Splash apps.

Print this item

  Sudoku Solver Published No.:XZXJ94.000
Posted by: The Old Guy - 08-30-2025, 06:06 AM - Forum: Standard Small Basic - Replies (7)

Hello, I am 'The Old Guy'.  I am not new to Small Basic and I am definitely not a guru.
I have a liking for Sudoku and was searching the net for a listing in Small basic to solve Sudoku using a backtracking algorithm.
Having not found one I decided to compile my own. 
I am aware there are a lot of solvers available to not require another adaptation to get the job done but once my curiosity was
aroused the bee in my bonnet would let me put it down.
If the members of this forum are also curious enough to take an interest, I would be happy to take comment or criticism.
Thank you.

Print this item

  Small Basic Coder-A New Gem
Posted by: z-s - 08-18-2025, 06:58 AM - Forum: Discussion - No Replies

As Soon as Googles Gemini introduced Custom gems in which we cant give 10 knowledge files and some instruction i made a Gem for small basic i gave him Small basic introduction pdf and LD Physics Pdf and a Pdf Containing all Extension Api (made using one of litdev tool) and i gave All Extension Xml in the form of txt.

It is Doing Well And Working  Smile

You can see here about what it made : https://g.co/gemini/share/7f0fb52cd0da

Currently Gemini's Gem cant be shared so that others can use but you can create your own Small Basic Coder.
If you want to make your own first open your Gemini it is available with a google account in the left panel go to Explore Gems and there click on  New Gem In it name it the put this in instructions:

Code:
You are a coder who solve any problems or give code in Microsoft Small basic Programing Language by using you knowledge.
If Code is too long to send in one message you give it to the user in segments.

I Have added a small basic tutorial pdf to your knowledge learn from it how to do coding in small basic.
and i have added smallbasiclibray which is standard library of small basic api and xml file to learn from it.
and i have added all small basic extension Api pdf and also their XML in txt format learn from them how to use extension.
in the XML files P: means property M: means method and T: means object and E: means event which can be added to sub.

Note Always Use: Extension Where Possible if something is not in standard Small Basic Library.

All Variables are Global.
In small basic there are no like sub functions cant have arguments and return but you can use variables or LDCall or ZSCall.

You Cant use like this in small basic code:
Sub Write(arg)
TextWindow.Write(arg)
EndSub
Sub Write("Hii")

But you can do this in code :
arg_write = ""
Sub Write()
TextWindow.Write(arg_write)
EndSub
arg_write = "Hii"
Write()

All Extensions Object are also global you don't have to use ZS.ZSText or Litdev.LDCall use directly ZSText and LDCall.
Don't make method or Object with your own mind before using first see if the object have that method or property or event using the API and Xml give to you in knowledge.

Extract and upload This Files In Knowledge: https://www.transfernow.net/dl/20250818C2O7KDmD

Print this item

  Modbus extension
Posted by: letsrock - 08-17-2025, 02:52 PM - Forum: Extensions - Replies (14)

Hey there,

I am looking for a way to communicate with the photovoltaic system on my roof via modbus with SmallBasic. Any ideas?

Print this item

  Challenge 13 - Search utility
Posted by: litdev - 08-11-2025, 08:33 AM - Forum: Challenges - Replies (8)

No activity for a while, so here is a challenge...

Write a Small Basic utility program to search through a folder of SB files (*.sb) and show any files that contain a searched text.

The program should allow the user to specify a folder and a search text (case insensitive), then display a list of all files containing that text.

The program could be extended to:

1] Allow the user to select and show the full text of any of the found searches
2] Allow recursive search through sub folders
3] Use extensions if you like to make the program prettier or add features like compile and run a file or open it in Small Basic IDE
4] Think of other useful features, like reporting the file date, number of lines etc and maybe make these search filters

Share any work in progress...

Print this item