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: 786
» Latest member: WilliamVar
» Forum threads: 212
» Forum posts: 2,220

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 36 Guest(s)
Applebot, Bing

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

 
  test
Posted by: victimvictus - 02-05-2024, 02:51 PM - Forum: Discussion - No Replies

test mesajııztest mesajııztest mesajııztest mesajııztest mesajııztest mesajııztest mesajııztest mesajııztest mesajııztest mesajııztest mesajııztest mesajııztest mesajıız

Print this item

  Point (0,0) in LD3DView image mapping
Posted by: stevantosic - 02-04-2024, 05:09 PM - Forum: Extensions - Replies (18)

Hi

I don't know if this should be new thread.

In the LD3DView examples point (0,0) is in the left down corner for purpose of image mapping. For example, images water.jpg, stones.jpg and wall.jpg are hard to see the right orientation of images. I think that (0,0) should be in the left upper corner of an image.

st

Print this item

  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