Search found 266 matches

by bongomeno
Tue Feb 13, 2024 6:10 pm
Forum: General Discussion
Topic: New BASIC website
Replies: 4
Views: 6588

Re: New BASIC website

Thank you for sharing my site on your classic site. It means a lot.
I added a link to your site in mine as well.
Your BASIC in COBOL looks awesome.
by bongomeno
Tue Dec 19, 2023 11:57 am
Forum: Freebasic Questions & Answers
Topic: FreeBASIC Games Directory updates (last: 20.11.2012)
Replies: 12
Views: 51197

Re: FreeBASIC Games Directory updates (last: 20.11.2012)

It's nice to see posts here. It's getting rare. Especially in this free basic section.
by bongomeno
Tue Dec 19, 2023 11:55 am
Forum: News and Announcements
Topic: FAX-ME: Let's write Tetris
Replies: 3
Views: 3367

Re: FAX-ME: Let's write Tetris

That's a way different and probably better approach to making tetris than what I did. Should be an interesting read. Thank you.
by bongomeno
Tue Dec 19, 2023 11:52 am
Forum: General Discussion
Topic: Small BASIC
Replies: 3
Views: 2823

Re: Small BASIC

I tried it once years ago. Wasn't a fan, although I can see how it would be good for youths on newer systems.
I do favor BASIC 256 as a learning/testing language.
My favorite is probably Just Basic due to the simple programming lesson it provides.
by bongomeno
Thu Oct 05, 2023 9:25 pm
Forum: General Discussion
Topic: Net Basic - a BASIC in PHP
Replies: 14
Views: 23366

Re: Net Basic - a BASIC in PHP

I realized that Net Basic could generate graphics by printing HTML with SVG tags. I'm still figuring out how to use SVG and what's possible, but for now I went ahead and made some SVG examples. To use SVG in Net Basic, first call the HTML command to break from the text output area. 5 PRINT "SVG...
by bongomeno
Thu Oct 05, 2023 1:37 am
Forum: General Discussion
Topic: Net Basic - a BASIC in PHP
Replies: 14
Views: 23366

Re: Net Basic - a BASIC in PHP

I have added the keywords FOR/TO/STEP/NEXT/BREAK. They are detailed in the documentation. Examples are updated to reflect the update. A few New/updated examples: 1 REM https://rosettacode.org/wiki/Attractive_numbers 10 FOR x = 1 TO 120 20 LET n = x 30 LET c = 0 40 IF n MOD 2 <> 0 THEN 70 50 LET n = ...
by bongomeno
Fri Sep 08, 2023 4:16 pm
Forum: General Discussion
Topic: Net Basic - a BASIC in PHP
Replies: 14
Views: 23366

Re: Net Basic - a BASIC in PHP

Try saving this form as a .html file and open it with your browser. You will have a currency conversion app on your screen. <form action = "https://www.lucidapogee.com/netbasic/" target = "output" method = "get"> <p> U<br /><input type = "text" name = "U&...
by bongomeno
Fri Sep 08, 2023 3:49 pm
Forum: General Discussion
Topic: Net Basic - a BASIC in PHP
Replies: 14
Views: 23366

Re: Net Basic - a BASIC in PHP

And now... The GET command is an advanced feature intended to be used with URL encoded programs. The command returns the contents of a variable with the same name from the URL. Variable names must be upper case in the URL. Take this simple program and encode it to a url using the IDE on the Net Basi...
by bongomeno
Fri Sep 08, 2023 1:59 pm
Forum: General Discussion
Topic: Net Basic - a BASIC in PHP
Replies: 14
Views: 23366

Re: Net Basic - a BASIC in PHP

That book may be just what I need to break out of my usual shell. I did write a BASIC to ASM compiler called FTCBASIC, but it's very limited with only unsigned ints. It only has DO/LOOPS and ENDIF. I wouldn't mind trying to write an even better compiler or at least improving the one I already started.
by bongomeno
Fri Sep 08, 2023 5:29 am
Forum: General Discussion
Topic: Net Basic - a BASIC in PHP
Replies: 14
Views: 23366

Re: Net Basic - a BASIC in PHP

I just added a neat new feature to allow for "compiling" of programs. Basically, a URL is generated containing the encoding of your program. This way it may be shared, linked, bookmarked, iframed, or popped up. The URL appears whenever you RUN a program. Simply copy/paste it wherever. For ...
by bongomeno
Fri Sep 08, 2023 1:29 am
Forum: General Discussion
Topic: Net Basic - a BASIC in PHP
Replies: 14
Views: 23366

Re: Net Basic - a BASIC in PHP

Okay, I have been at it all day. With everything from your post in mind. rand(0, getrandmax() - 1) / getrandmax() Changed. Works perfectly. Always greater than 0 and less than 1. I updated your egg dropping example to reflect the change. I tried all sorts of stuff to try making it work like QBasic, ...
by bongomeno
Wed Sep 06, 2023 3:33 pm
Forum: General Discussion
Topic: RP1 Free Online Scientific Calculator (written in PHP)
Replies: 0
Views: 29734

RP1 Free Online Scientific Calculator (written in PHP)

https://lucidapogee.com/rp1/RP1.png (R)PN (P)HP 1 Free online scientific calculator. I wrote this to go along with my Net Basic as a set of tools I like to think of as "website widgets." It's a calculator that accepts BASIC like expressions. There's an input box for the expression along w...
by bongomeno
Wed Sep 06, 2023 3:04 pm
Forum: General Discussion
Topic: Net Basic - a BASIC in PHP
Replies: 14
Views: 23366

Re: Net Basic - a BASIC in PHP

I have updated Net Basic. The three examples by MikeHawk have been added. Based on the issue I described in the post above, I decided to change how the NOT() works for now. Let me know if this is bad. 10 LET i = -10 20 PRINT i, NOT(i) 30 LET i = i + 1 40 IF i < 10 THEN 20 Returns -10 9 -9 8 -8 7 -7 ...
by bongomeno
Wed Sep 06, 2023 1:20 pm
Forum: General Discussion
Topic: Net Basic - a BASIC in PHP
Replies: 14
Views: 23366

Re: Net Basic - a BASIC in PHP

IIRC, Net Basic didn't throw an error when I attempted to do: Code: Select all IF (r < g) AND (r < b) THEN LET min = r It failed and after looking into the sample codes, I understood I had to jump instead. But I expected an error at least. I have not yet figured out how to support that (haven't tri...
by bongomeno
Tue Sep 05, 2023 11:08 pm
Forum: General Discussion
Topic: Net Basic - a BASIC in PHP
Replies: 14
Views: 23366

Re: Net Basic - a BASIC in PHP

That made my day. :D I'm glad you were able to get the thing to work. It's scary putting stuff like this out not knowing what kind of errors people will find. Always seems like I miss things. Your snippets are perfect for the scope of what I intended this BASIC for. Demonstrating concepts with code ...
by bongomeno
Fri Sep 01, 2023 8:30 pm
Forum: General Discussion
Topic: Net Basic - a BASIC in PHP
Replies: 14
Views: 23366

Net Basic - a BASIC in PHP

https://lucidapogee.com/netbasic/Net_Basic.png Net Basic is a minimal BASIC dialect contained in an online programming environment that is suitable for performing complex calculations on the go. I started the project earlier this week. It's stable and live. Try it out. https://lucidapogee.com/netba...
by bongomeno
Fri Jun 30, 2023 1:21 am
Forum: News and Announcements
Topic: RPN scientific command line calculator
Replies: 0
Views: 32213

RPN scientific command line calculator

Written in Quick Basic. FREEWARE Open Source RPN Calc is a scientific command line calculator for x86 DOS. Example expressions: (18/3)^2+((13+7)*5^2) 2*20/2+(3+4)*3^2-6+15 (3*5^2/15)-(5-2^2) (5.9-5.3)*7.2+1.4^2 (2.1^2+5.2-7.2)*7.1 (18/3)^2+((13+7)*5^2) (-B+SQR(B^2-4*A*C))/(2*A) (-B-SQR(B^2-4*A*C))/(...
by bongomeno
Sun Mar 26, 2023 1:49 pm
Forum: General Discussion
Topic: New BASIC website
Replies: 4
Views: 6588

Re: New BASIC website

I have added sections for Quick Basic, QB64, Free Basic, and RapidQ to my forum.

Hope to see you there. 8)
by bongomeno
Sun Mar 26, 2023 4:57 am
Forum: General Discussion
Topic: Latest Windows 11 update is causing slow SSDs & WiFi connections, BSoD, and more
Replies: 1
Views: 14121

Re: Latest Windows 11 update is causing slow SSDs & WiFi connections, BSoD, and more

I'm posting from XP and often still use 95.

I might have to throw my eyes in the bin if I see Window 11.
by bongomeno
Wed Feb 22, 2023 6:33 am
Forum: General Discussion
Topic: New BASIC website
Replies: 4
Views: 6588

New BASIC website

I just created this website.

It's the new home of my BASIC programming languages.

http://www.lucidapogee.com