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: 110
» Latest member: JonnyWi
» Forum threads: 125
» Forum posts: 1,479

Full Statistics

Online Users
There are currently 78 online users.
» 0 Member(s) | 76 Guest(s)
Google, Bing

Latest Threads
LDArray extension
Forum: Extensions
Last Post: AbsoluteBeginner
8 hours ago
» Replies: 17
» Views: 180
AI learns Small Basic
Forum: Discussion
Last Post: jrmrhrb00
Yesterday, 12:14 AM
» Replies: 6
» Views: 144
Challenge 9 - Quick sort
Forum: Challenges
Last Post: AbsoluteBeginner
11-18-2024, 03:52 PM
» Replies: 47
» Views: 969
How to exit a subroutine ...
Forum: Standard Small Basic
Last Post: litdev
11-11-2024, 12:59 PM
» Replies: 2
» Views: 91
Training program for SB-N...
Forum: Discussion
Last Post: AbsoluteBeginner
11-08-2024, 07:02 AM
» Replies: 13
» Views: 339
SmallBasic Open Edition
Forum: C# Moving from Small Basic
Last Post: KristianVirtanen
11-05-2024, 06:37 PM
» Replies: 21
» Views: 665
UCI Chess Engine
Forum: Challenges
Last Post: Scout
10-30-2024, 10:41 PM
» Replies: 17
» Views: 1,748
Welcome
Forum: Standard Small Basic
Last Post: AbsoluteBeginner
10-30-2024, 10:01 PM
» Replies: 11
» Views: 1,673
Skull Custom Language Cre...
Forum: Discussion
Last Post: z-s
10-28-2024, 04:49 PM
» Replies: 87
» Views: 10,736
SB-Prime Plugins
Forum: Extensions
Last Post: litdev
10-25-2024, 07:52 AM
» Replies: 1
» Views: 79

 
  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

  Small Basic Only Extension
Posted by: jrmrhrb00 - 11-02-2023, 06:09 PM - Forum: Discussion - Replies (28)

I was thinking about newcomers to small basic. One of the problems that they have while doing a tutorial is in getting it to work properly. This occurs because in level 1.2 things don't work as they used to. A lot of functions are broken, like Flickr or DownloadFile.With the litdev extension a lot of the current issues with 1.2 have been fixed. Microsoft no longer supports small basic. So, is there a way to get 1.2 to the level that a newcomer would need to be able to go through the tutorials without issues. 

Since Microsoft won't support changes I was wondering if litdev would be willing to make a small basic fix extension. In other words in that extension only have fixes for what is broke. I think that would take small basic back to what it used to be and make it easier for newcomers. Also, the current litdev extension has made small basic harder to learn if that extension is loaded.

Thoughts?

JR

Print this item

  LDControls.SetButtonStyle (..) Parameter
Posted by: Scout - 10-16-2023, 09:28 PM - Forum: Extensions - No Replies

After 4 months another request on StackOverflow:

https://stackoverflow.com/questions/7730...-incorrect

Print this item

  Challenge 2 - Ball chase game
Posted by: litdev - 10-16-2023, 06:35 PM - Forum: Challenges - Replies (3)

Write a program to move a ball aound the screen with arrow keys.  Try to get the ball to move naturally and easy to control, and bounce off the edges of the GraphicsWindow.

When the single ball control works as you want it, extend the program into a game with a second ball for a second player. using WSAD keys.  This can then be a chase/tag game where one player has to escape the other for as long as they can.

Print this item

  New Member
Posted by: Lester - 10-14-2023, 07:26 PM - Forum: Standard Small Basic - Replies (1)

I am new to this forum. I have using SB off and on for about a year. I find SB/litdev a very enjoyable and understandable language. I also think Prime IDE is a great working environment with most of the features of the large commercial IDEs without the bloat and complexity.  Thank you.

Print this item

  Email Messages
Posted by: jrmrhrb00 - 10-12-2023, 11:07 PM - Forum: Discussion - No Replies

On some of the threads it allows you to send an email to the person you are messaging to in the thread. Once you send that email is there a way to see it again? I thought it would go in my regular email sent folder but it didn't. So, how do you see what you sent and how would you see a reply. I would guess a reply would go back in your inbox. Is that right?

JR

Print this item