Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 54 online users. » 0 Member(s) | 52 Guest(s) Bing, Applebot
|
Latest Threads |
New project
Forum: Discussion
Last Post: litdev
10-13-2025, 09:09 AM
» Replies: 2
» Views: 46
|
LDGeography.GetAllCountri...
Forum: Extensions
Last Post: litdev
10-05-2025, 12:33 PM
» Replies: 5
» Views: 190
|
TCP/IP Socket Programming
Forum: Extensions
Last Post: litdev
09-27-2025, 03:36 PM
» Replies: 23
» Views: 2,136
|
Hi everyone
Forum: Discussion
Last Post: z-s
09-25-2025, 08:14 AM
» Replies: 0
» Views: 95
|
Prototype for 3D Small Ba...
Forum: Discussion
Last Post: sm4llprogrammer2008
09-24-2025, 09:50 PM
» Replies: 0
» Views: 123
|
Really great announcement...
Forum: Discussion
Last Post: sm4llprogrammer2008
09-24-2025, 09:41 PM
» Replies: 4
» Views: 373
|
Challenge 14 - Rainbow
Forum: Challenges
Last Post: martmen
09-20-2025, 01:42 PM
» Replies: 5
» Views: 361
|
Small Basic super slow ??
Forum: Standard Small Basic
Last Post: sm4llprogrammer2008
09-14-2025, 11:07 PM
» Replies: 27
» Views: 2,982
|
Sudoku Solver Publishe...
Forum: Standard Small Basic
Last Post: The Old Guy
09-01-2025, 06:20 AM
» Replies: 7
» Views: 518
|
Challenge 13 - Search uti...
Forum: Challenges
Last Post: martmen
08-29-2025, 10:13 AM
» Replies: 8
» Views: 796
|
|
|
Replace Small Basic? |
Posted by: z-s - 06-09-2025, 02:22 AM - Forum: Discussion
- Replies (12)
|
 |
After all discussion I think i should create SharpBasic basic version of CSharp with small basic syntax and library but much more stuff.
So I set this my current goal but I need help of you people on this forum for every step.
So first should we create it on .Net core (8,9,10) or .net framework 4.8
EDIT BY litdev
Split from https://litdev.uk/mybb/showthread.php?ti...16#pid2316 since this is a big new topic
|
|
|
working with two windows |
Posted by: martmen - 06-07-2025, 08:42 AM - Forum: Extensions
- Replies (1)
|
 |
Hello LitDev,
when working with two windows, the current window must be activated. In the first window, I create controls, such as a text shape. In the second window, I create a ListView. The second window is the active window. Can I simply change the text of the text shape, or do I need to activate the first window first?
The question is: when does a window need to be activated?
I’m looking forward to the answer.
Best regards,
Martin
|
|
|
Error by LDGraphicsWindow.FloodFill |
Posted by: martmen - 06-07-2025, 08:31 AM - Forum: Extensions
- Replies (1)
|
 |
Hello LitDev,
In the program MJPH297.000, the command
Code: LDGraphicsWindow.FloodFill(HGWW, HGWH, "Yellow")
is executed incorrectly. It does not fill the rectangle in the center of the window. Could you please correct this?
Thank you,
Martin
Translated by Capilot
|
|
|
Small Basic super slow ?? |
Posted by: Elzaimer - 06-04-2025, 08:39 PM - Forum: Standard Small Basic
- Replies (27)
|
 |
Hello everybody,
I found this QBASIC program on Facebook :
DIM SHARED pi, r, t, u, v, x
DIM i AS INTEGER, j AS INTEGER
DIM px AS INTEGER, py AS INTEGER
DIM rr AS INTEGER, gg AS INTEGER, bb AS INTEGER
SCREEN 12
RANDOMIZE TIMER
pi = 4 * ATN(1)
r = 2 * pi / 235
t = 4 * RND
x = 0: u = 0: v = 0
CLS
FOR i = 0 TO 249
FOR j = 0 TO 249
u = SIN(i + v) + SIN(r * i + x)
v = COS(i + v) + COS(r * i + x)
x = u + t
px = INT(320 + 108 * u)
py = INT(240 + 108 * v)
IF px >= 0 AND px < 640 AND py >= 0 AND py < 480 THEN
rr = (i * 3) MOD 256
gg = (j * 3) MOD 256
bb = (255 - (i + j) \ 2) MOD 256
LINE (px, py)-(px + 1, py + 1), _RGB(rr, gg, bb), BF
END IF
NEXT j
NEXT i
SLEEP
I tried it on https://qbjs.org/ and as it was nice I converted it to Small Basic (PSGZ709.000) to compare the performances.
The difference is incredible : 6 seconds on SB and less than a second on QBJS.
Somebone has an explanation ? is my convertion bad ? is there a way to get better performances ? Would Svb be faster ?
|
|
|
Request for command extension LitDev |
Posted by: martmen - 05-27-2025, 06:12 AM - Forum: Extensions
- Replies (2)
|
 |
Hello LitDev,
could you please create a command that generates the contents of the current window as a PDF?
It should also be possible to save it afterward.
Thank you very much for your great extension.
Best regards,
Martin
|
|
|
ZS DIALOG ERROR |
Posted by: martmen - 05-19-2025, 10:03 PM - Forum: Extensions
- Replies (4)
|
 |
Hallo ZS,
Ich habe ZSDialog.ShowColorDialog() mit HWHS868.000 getestet. Warum wird das Dialogfeld hinter dem Fenster angezeigt? Können Sie den Dialog in den Vordergrund bringen? Tritt dieses Problem bei allen Dialogfeldern auf?
Alles Gute
Martin
P.S. Gebe ich den Text in englisch ein, wird er sofort ins deutsche übersetzt
|
|
|
|