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: 929
» Latest member: Ashburnjers
» Forum threads: 230
» Forum posts: 2,310

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 38 Guest(s)
Baidu, Bing, Google

Latest Threads
ListView issues by use LD...
Forum: Extensions
Last Post: martmen
06-11-2026, 09:46 AM
» Replies: 6
» Views: 239
I think that no more Smal...
Forum: Discussion
Last Post: eddylo
04-24-2026, 12:54 AM
» Replies: 2
» Views: 403
D'ont read a file
Forum: Standard Small Basic
Last Post: WhTurner
04-12-2026, 03:39 PM
» Replies: 1
» Views: 133
close a file
Forum: Standard Small Basic
Last Post: francesco
04-12-2026, 08:59 AM
» Replies: 2
» Views: 211
random in a array
Forum: Standard Small Basic
Last Post: francesco
04-05-2026, 06:40 PM
» Replies: 4
» Views: 393
Sqlite Version
Forum: Extensions
Last Post: Lester
03-24-2026, 06:58 PM
» Replies: 3
» Views: 324
Small Basic Explorer with...
Forum: Challenges
Last Post: martmen
03-17-2026, 03:48 PM
» Replies: 0
» Views: 160
Example Program
Forum: Extensions
Last Post: martmen
03-13-2026, 04:15 PM
» Replies: 0
» Views: 166
BASIC Jam 7 is in progres...
Forum: Discussion
Last Post: eddylo
03-11-2026, 12:40 AM
» Replies: 3
» Views: 443
LitDev extension
Forum: Extensions
Last Post: martmen
02-24-2026, 07:20 AM
» Replies: 2
» Views: 381

 
  Old Small Basic Forum is gone!
Posted by: jrmrhrb00 - 01-30-2024, 12:20 AM - Forum: Discussion - Replies (4)

It looks like Microsoft has pulled the plug on having access to the old forum. The link now just takes you to Q&A. This is really a shame as there was still a lot of good information there. If anyone can figure out a way to get into it let me know, but it looks like it is gone.

JR

Print this item

  No difference between AddBackImage and AddImage in LD3DView
Posted by: stevantosic - 01-23-2024, 07:54 PM - Forum: Extensions - Replies (6)

Hi
I noticed there is no difference between AddBackImage and AddImage in LD3DView.

st

Print this item

  Small Basic is more powerful than this.
Posted by: eddylo - 01-04-2024, 02:56 PM - Forum: Discussion - No Replies

I discovered the game. I believe that an experienced Small Basic user is able to do more.Undecided
https://itch.io/jam/jam-for-all-basic-di...te/2449200

Print this item

  Can't get LDTimers to work
Posted by: jrmrhrb00 - 12-25-2023, 08:44 PM - Forum: Extensions - Replies (4)

LitDev,

Here's the code:

'Timer.interval= 10
'Timer.tick=OnTimerTick

'Name=LDTimer.Addtick(OnTimerTick)
'LDTimer.Interval(Name,10)

Name=LDTimer.Add()
LDTimer.Interval(Name,10)
LDTimer.Tick=OnTimerTick

Sub OnTimerTick
  TextWindow.WriteLine("Here")
EndSub

The first 2 lines are the regular timer. That works, but it has been commented out. The next 2 lines have been commented out and they don't work. The next 3 have not been commented out, but they don't work either. I couldn't find this in the old forum. So, how do you make these work. To me they are setup like the first 2 lines which do work.

JR

Print this item

  Sb-Prime Variables at bottom not being set
Posted by: jrmrhrb00 - 12-17-2023, 03:14 PM - Forum: Extensions - Replies (3)

LitDev,

I noticed that while checking out stepping in a program that all of the variable values don't get set at the bottom of the screen in the debug window. If I step through the below program in prime var3 and var5 don't get set. If I hover over them they do show the values. Also, if I have the variable and call stack displayed it works correctly.

JR



Var1="This"
var2="that"
var3="and"
var4="so"
var5="on"
while "True"
  Program.Delay(30)
  EndWhile

Print this item

  How should icons be used in LDControls.AddMenu()
Posted by: Scout - 12-12-2023, 10:38 PM - Forum: Extensions - Replies (4)

The following program overwrites the line checklist["By Index"]="True" the On.ico icon.
How should the icons be used?

menuList["File"] = "Main"
menuList["Record"] = "Main"
menuList["Sort"] = "Main"
menuList["Help"] = "Main"
menuList["New Database"] = "File"
menuList["Open Database"] = "File"
menuList["Exit"] = "File"
menuList["Add Record"] = "Record"
menuList["Find by ID"] = "Record"
menuList["Records"] = "Record"
menuList["Exact Match"] = "Records"
menuList["Partial Match"] = "Records"
menuList["By Field"] = "Sort"
menuList["By Index"] = "Sort"
menuList["Print File"]= "Sort"
menuList["Print Label"]="Sort"
menuList["About"] = "Help"
iconList["File"]= Program.Directory + "\On.ico"
iconList["New Database"]= Program.Directory + "\On.ico"
iconList["Records"] = Program.Directory + "\On.Ico"
iconList["Exact Match"] = Program.Directory + "\On.Ico"
iconList["Partial Match"] = Program.Directory + "\Off.Ico"
iconList["By Index"] = Program.Directory + "\On.Ico"
iconList["By Field"] = Program.Directory + "\Off.Ico"
iconList["About"] = Program.Directory + "\On.Ico"
checklist["By Index"]="True"
menu = LDControls.AddMenu(GraphicsWindow.Width,32,menuList,iconList,checkList)

Print this item

  Variables in Subroutines
Posted by: jrmrhrb00 - 12-08-2023, 12:49 AM - Forum: Discussion - Replies (20)

LitDev,

Using SB-Prime I wanted to capture variable changes while in the subroutine. These only show after the program goes back to the main loop. Is there any way to get it to do what I want it to do? I know the variables change while in the subroutine, but they don't show it.

JR

Print this item

  SB-Prime Debug Guide
Posted by: jrmrhrb00 - 12-08-2023, 12:35 AM - Forum: Discussion - Replies (4)

LitDev,

I was in SB-Prime and tried to read the Debug Guide. When I click on that it takes me to a page asking if I want to buy that domain.  I think the button for the guide has the wrong link. Here is what is in the link:  litdev.co.uk/forum/HowToDebug.pdf. First part should probably be litdev.uk.

JR

Print this item

  LitDev Extension LDFinances.HistoricalPrice
Posted by: jrmrhrb00 - 11-17-2023, 11:42 PM - Forum: Extensions - Replies (1)

LitDev,

I noticed in the Intellisense that it says the command "LDFinances.HistoricalPrice" says that it returns nothing. That is incorrect. It returns the historical prices.

JR

Print this item

  Performance of the SB-Prime Editor
Posted by: Scout - 11-12-2023, 04:06 PM - Forum: Extensions - Replies (6)

One of the very few good things that Q&A has brought to the SmallBasic language is the removal of the 64KByte limit for source code when publishing/importing.
I mean this came with the change of IDs from ABC123-0 to ABCD123.000.
Now really big and good programs can be published if someone has used SmallBasic in a specific topic.

However, long execution times occurred when loading the 167kB program Calendar PTKR773.0000, as well as when searching for "follow" between lines 500 and 1600.
Searching is significantly faster with the standard SmallBasic.
I hope it's not a big problem.


Update: The search function is fast again. I don't know what that was about.
             However, the loading function is still slow. Significantly faster in standard SmallBasic.

Print this item