new section for smallbasic at the qb64 edition

its not just about qb64. theres a python section and more.

i just noticed it myself: thejoyfulprogrammer.com/qb64/forum/forumdisplay.php?fid=485

now, why post there? i encouraged people to try the forum due to:

* support for graphics attachments that show the image
* it accepts pdfs and zip files at the bottom of a post
* you guys were talking about a desire for such features

its no bp.org for sure, but basic is welcome. smallbasic couldnt be a lot more welcome than having its own dedicated section. use it if you want to. (dont if you dont want to.)

Thank you FigOsDev.

Yes, The Joyful Programmer's QB64 forum, "The QB64 Edition", is now promoting SmallBasic thanks to FigOsDev.

He posted a thread about SmallBasic on The QB64 Edition and I was curious to check it out. After playing around with the language, I was inspired to create a place on The QB64 Edition for people to share their projects written in it.

The QB64 Edition started out as a secondary place for QB64 developers to go to, but over time, it has grown into so much more. I thought about creating a secondary forum for all programming languages, but I felt it was way too much work since I had no idea what languages I wanted to socialize about. So, to keep things simple, I allowed discussions of other programming languages on The QB64 Edition.

The QB64 Edition is about promoting projects created by its member's, and to do that effectively, I found and used a great forum software called, "MyBB". MyBB allows one to share images, videos, formatted text, and post attachments. It also offers a lot of other great features to forum users, and I absolutely love the software.

The QB64 Edition forum is located at: thejoyfulprogrammer.com/qb64/forum/

Walter Whitman
The Joyful Programmer
thejoyfulprogrammer.com

The Joyful Programmer, Walter's forum, is back up again for those who might have missed it.

There is a Board for SmallBASIC code in The QB64 Edition of that forum. Even though it says QB64 several BASIC's are there and other PL's discussed.
You can post snapshots, attachments and zip packages open to public.

Hi Walter,

I've updated the "links" menu to include a link your SmallBASIC forum. Thanks for hosting the forum!

Just a nick-pick, could you please change the capitalisation of Smallbasic to SmallBASIC?

Also, I had a look at qb64; it's pretty interesting. I'd like to think SmallBASIC and qb64 are more complimentary than competing tools. Is there anything about SmallBASIC that could be changed to make the coding more compatible?

Hi Chris,

I passed your message over, Walter has it fixed.

I too find them complementary.

Thanks figosdev and Walter, I just registered for The QB64 Edition.

I have been visiting this site since figosdev mentioned it. Kind of reluctant to go back to declaring variable types. But the games and graphics snapshots are very tempting!

Did the new guy reach the limit of what he can post in one day (at The QB64 Edition)?

I posted in SmallBASIC section 3 times, 2 in discussion 1 in projects.
I attempted to post another snippet for starting a new file with the label you code yourself but after several tries, I give up.
Every time I post, the message is blanked out and I get error, no message???

Too much for one day maybe.

Anyway, I had another BIG TIP come to mind while attempting the first post of New bas file.bas code:

'New bas file.bas SmallBASIC 0.12.9 (B+=MGA)
' 2017-04-28 mod to remove square brackets

color 11,0
? "Start new program with label option:"
? "To exit, just press enter when prompted for New file name."
?
while (!valid_file)
input "Enter New file name: ";file
if !len(file) then exit loop
dot = instr(file,".") : if dot = 0 then file += ".bas"
try
if (exist(file)) then
? "File, ";file;", already exists." : ?
else

'comment this section out and uncomment next to skip all the questions
'====== custom build your New file label,
? : ? "For no file label, just press enter," : ?
? " For label build string:
? "f for filename,"
? "s for SmallBASIC 0.12.9,"
? "d for (dd/mm/yyyyy) date,"
? "i for (yyyy-mm-dd) ISOdate,"
? "( your signature/initials/note ) < put your signature inside ()"
? "a for all above with or without signature using ISOdate."
input "Enter string for label or just enter: ";lab


'VVV skip all the questions and use following commands for lab (uncomment next line)
'lab = upper("a(B+=MGA)") '<<<<<<<<<<<<<<<<<<<< and comment this out for custom build


build = "' "
if instr(lab,"(") and instr(lab, ")") then
sig = " " + mid(lab, instr(lab, "(")) : lab = upper(leftof(lab, "("))
else
sig = "" : lab = upper(lab)
fi
if len(lab) then
if instr(lab,"F") then build += file
if instr(lab,"S") then build += " SmallBASIC 0.12.9"
if len(sig) then build += sig
if instr(lab,"D") then build += " " + date
if instr(lab,"I") then build += " " + ISOdate("")
if instr(lab,"A") then
build = "' " + file + " SmallBASIC 0.12.9" + sig + " " + ISOdate("")
fi
else
build = ""
end if
open file for output as #1
print #1, build
close #1
? file; " has been started with label: " + build
valid_file = true 'this line prevents another while loop
end if
catch e
? "Error printing file: "; e
end try
wend
? "OK, good-bye"
pause

func
ISOdate(DslashMslashY)
local fdate, d, my, m, y
if DslashMslashY = "" then fdate = date else fdate = DslashMslashY
d = leftof(fdate, "/") : if len(d) = 1 then d = "0" + d
my = rightof(fdate, "/")
m = leftof(my, "/") : if len(m) = 1 then m = "0" + m
y = rightof(my, "/") : if len(y) = 2 then y = "20" + y
ISOdate = y + "-" + m + "-" + d
end




Tips:
general help = ctrl + h
help on keyword = fn + f1

Now BIG TIP: press escape when ever a window is showing on the right side of the screen so you can start editing again in the editor.
Otherwise, you will type away and nothing will happen and you will think, Hmm... is SmallBASIC broken???

MGA,

There are no limits on The QB64 Edition's forum. Please log in to the forum and try again, if it isn't working, please send me a PM (Personal Message) on the site. Also, I just checked your account and I do not see any issues with it.

Walter Whitman
The Joyful Programmer

First, I have updated the New bas file.bas code in post above to remove the squares brackets and clean up a bit.

Second, the issue I encountered posting code at The QB64 Edition forum may sound familiar.

I was the monkey who typed just the right permutation to cause a clash with MyCode used with that forum editor. After a half dozen tries, I determined there was something in the code the forum editor was completely rejecting. The code was for New bas file.bas code that used a number of square brackets. So I suspected something to do with that and a conflict with MyCode, like we have problems here with angle brackets in code and angle brackets to signal HTML services with this forum editor. Walter found the exact combo last night.

Also apparently that forum truly has plenty of storage room which is why attachments are unlimited.

I have posted this morning a complete listing of bas files I use to work with SB on my Windows desktop to go with snapshot.
I enjoy using SmallBASIC so much I wish to share with others the fun. But there is a hurdle getting started with SmallBASIC that Aurel has brought up a couple of time and I have tried to address that both at Retrogamecoding:http://retrogamecoding.org/board/index.php?topic=382.0
and now at The QB64 Edition: http://thejoyfulprogrammer.com/qb64/forum/showthread.php?tid=666&pid=199...
Alas! you have to be a member to get full access to attachments and screenshots at least at Retro.

If I my posts further confuse or mislead, please tell me so I can correct my errors.

BTW, I am noticing I am automatically logged in at The QB64 Edition and I can't call up The QB64 Edition in a 2nd tab on FoxFire browser (to check something else in forum as I write up something to post). It is like you open the refrigerator door and the light's on, so does it really go off when the door is closed? ;-))

PS maybe I am getting old and am forgetting to log out and think I am clicking the 2nd tab but really click the first by habit. I tested log out and 2nd tab click more carefully and found things working normal.

MGA,

As I had recently posted on my forum, the webhosting company I use, PowWeb.com gives accounts unlimited storage and unlimited bandwidth, so I will never run out of storage space. However they do limit us on database by only giving us 2GB for each of the 75 we receive with each account. At the moment, The QB64 Edition is using up 35MB out of 2GB of database storage, so it will be years before that ever gets close to full, if ever.

You can download attachments and view posts on my forum if you are not logged in or don't have an account. I want people to come to the site and enjoy the content without having to be a member. However, I want people to be a member before they can post, PM (Personal Message), and so on.

Yes, you do remain logged in on the forum until you log out (if on the same machine - you will have to log in on other machines and/or browsers), and for me, that is a blessing. I hate constantly having to log in because my session timed-out because of inactivity.

I primarily use the FireFox web browser for all my online needs (I hate when companies use the "needs" word) since it has great developer tools and other add-on's that use on a regular basis. I am not sure why you are having an issue with viewing different parts of The QB64 Edition forum in multiple tabs, as I do it all the time on many machines (Home [on two laptops] and at work). I usually have between 5 to 10 tabs open view several postings or sections at a time, and I will usually have 5-20 tabs open at a time just in the admin section alone. I do this so I can edit multiple theme and template sections. When I go on The QB64 Edition, if I don't see any new PM's, I will scroll down to the box that list the last 250 posts on the forum, and open up every new post I see in different tabs.

Please keep me informed to any issues you find so I can attempt to fix them.

Thank you again.

Walter Whitman
The Joyful Programmer
TheJoyfulProgrammer.com

This is very important feature, quoting Walter:
"You can download attachments and view posts on my forum if you are not logged in or don't have an account. I want people to come to the site and enjoy the content without having to be a member. However, I want people to be a member before they can post, PM (Personal Message), and so on."

This is just what we needed to share SmallBASIC code. PLUS, Walter is a very enthusiastic, helpful and engaging Administrator and host! That is huge.

This forum seems open to all program languages, maybe geared toward programming hobbiests. Walter has just posted a MASM32 SDK version 11 thread in Assembly board. There is also C++, Monkey-X (have to find out what that is), Python Board, SmallBASIC, Other (where figosdev is posting about fig he developed and we translated some code in Project Help here).

My only issue is with my own habits that become more ingrained with age. Apologies to Walter or anyone else mislead by my words. BTW, I thought I had deleted that observation about not being able to get a 2nd tab going... dang, it is MY error, again. Remember Mark, after Preview must Save!

This is very important feature, quoting Walter:
"You can download attachments and view posts on my forum if you are not logged in or don't have an account. I want people to come to the site and enjoy the content without having to be a member. However, I want people to be a member before they can post, PM (Personal Message), and so on."

This is just what we needed to share SmallBASIC code. PLUS, Walter is a very enthusiastic, helpful and engaging Administrator and host! That is huge.

This forum seems open to all program languages, maybe geared toward programming hobbiests. Walter has just posted a MASM32 SDK version 11 thread in Assembly board. There is also C++, Monkey-X (have to find out what that is), Python Board, SmallBASIC, Other (where figosdev is posting about fig he developed and we translated some code in Project Help here).

My only issue I have is with my own habits that become more ingrained with age. Apologies to Walter or anyone else mislead by my words. BTW, I thought I had deleted that observation about not being able to get a 2nd tab going... dang, it is MY error, again. Remember Mark, after Preview must Save!

Mark,

Thank you. I have a personal belief that if you want to run a community site, you need to be active in it. No only does the Administrator need to mingle with the members, but they need to police it when necessary. I quickly remove all spam and negativity from the forum so it doesn't upset other members. Well, at least I try on the negativity part. Sometime I curious to see where something goes, but in the end, I ultimately remove the offending posts or threads.

The QB64 Edition started out to be a secondary forum for the QB64 language, but after many forum members on The QB64 Edition as well as the people on the QB64 chatroom (yes, there is a chatroom for QB64 and the link is in the menu at the top of every page) kept suggesting that I make the site multilingual (programming code wise) instead of creating many new forums (like I did when I created my C++ forum that you can still see at "thejoyfulprogrammer.com/The-C++-Edition/forum/"). I decided to go ahead and do it. However, I am unable to change the name of the forum. I have it setup in a sub-directory under them name QB64, and Google (as well as other search engines) have already been indexing the site since 2014. I do not want to loose my positioning with Google and the other search engines. I kept the name so I wouldn't have to start over again.

Monkey-X is another translator BASIC language created by Mark Sibley, the creator of BlitzBasic programming languages (BlitzBasic, BlitzPro, Blitz3D - all free and open source). Monkey X is similar to Java and C++ in nature and has powerful capabilities. I purchased the Studio X version for $99.00 (US) and I love it. It is designed to create 2D, side-scroller games with ease (once you learn the language).

Walter Whitman
The Joyful Programmer