|
Post by bplus on May 6, 2021 14:37:18 GMT -5
Hi All, I know most of you guys already. Great idea for forum! I would like to mention SmallBASIC (not MS Small Basic different spelling). It has QB based origin like many other modern Basics, a very fast Interpreter developed currently by Chris Warren-Smith. Might be handy for a Basic program on Android device. Downloads and reference material: smallbasic.github.ioForum look for SmallBASIC board www.syntaxbomb.com/index.php?action=forum
|
|
|
Post by bplus on May 6, 2021 14:59:10 GMT -5
Here is sample Yin Yang from quite awhile ago, here the speed of circles turning or reversing was controlled by mouse (pen keyword).
'Ying yang color.bas 2015-07-08 I know I updated sdlbas version how about SmallBASIC? 'from Ying Yang v3.sdlbas 2015-06-03 MGA
'=========================main sq=500 rc= sq/4-40 xc=sq/2 yc=sq/2 rect 0,0,sq,sq,9 filled
nc=1 d=1 i=0 acc=.017 'radians while 1 k=inkey if len(k)=1 and asc(k)=27 then end x1=xc+rc*sin(i) y1=yc+rc*cos(i) if nc>254 then d=-1*d if nc<1 then d=-1*d nc=nc+d c=rgb(nc,0,0) circle x1,y1,rc,1,c filled c=rgb(0,255-nc,0) circle x1,y1,rc/3,1,c filled x2=xc+rc*sin(i+3.1415) y2=yc+rc*cos(i+3.1415) circle x2,y2,rc,1,c filled c=rgb(nc,0,0) circle x2,y2,rc/3,1,c filled showpage pen on my=pen(5) pen off if my<sq then acc=(my-sq/2)/sq*.7852 i=i+acc endif wend
|
|
|
Post by Basic Bear on May 6, 2021 15:05:08 GMT -5
Hi All, I know most of you guys already. Great idea for forum! I would like to mention SmallBASIC (not MS Small Basic different spelling). It has QB based origin like many other modern Basics, a very fast Interpreter developed currently by Chris Warren-Smith. Might be handy for a Basic program on Android device. Downloads and reference material: smallbasic.github.ioForum look for SmallBASIC board www.syntaxbomb.com/index.php?action=forumThank you bplus. This forum is for everyone young and old who enjoys Basic in whichever flavor it may be.
|
|
|
Post by bplus on May 6, 2021 15:11:36 GMT -5
Hi Admin,
Great! Did you ever happen to try BP.org, that was also a place for Basic lovers, specially their own. LOL
Really fun to learn from different versions of Basic.
|
|
|
Post by Basic Bear on May 6, 2021 15:34:44 GMT -5
Hi Admin, Great! Did you ever happen to try BP.org, that was also a place for Basic lovers, specially their own. LOL Really fun to learn from different versions of Basic. Cannot say that I do, but so many Basic languages and sites have come and gone throught the years that it is difficult to recall them. One issue I found, and part of the influence for this, is that languages that has a forum is more of a help/code repository specific for their language. The main idea here is more of a relaxed atmosphere to share your experiences and languages you like or not like, etc. I do allow code posting, but it is not something I would encourage personally. I was looking at smallBasic and it is something I would like to check out. Thank you for mentioning this one.
|
|
|
Post by bplus on May 6, 2021 20:39:31 GMT -5
Oh wow! don't see that lasting very long. OK let's see how that goes I posted my limit for month OK?
|
|
|
Post by Basic Bear on May 7, 2021 9:05:58 GMT -5
Can you please explain what you meant by that?
|
|
|
Post by bplus on May 7, 2021 11:53:44 GMT -5
Can you please explain what you meant by that? Talking about Basic without comparing code seems highly unusual to me. For instance sb like SdlBasic does not use formal Types for variables, JB only has 2 String and number, QB64 and FreeBasic typing variables is huge subject if not an art form ;-)) Same with showing Subs and Functions (one Basic only had Procedures not Subs and Functions, BB4W was it? or Naalaa?) before main code section or after? All these things make it interesting comparing code, then there are the ways people can code a solution to solve a problem. Not sure why you have all the PL Boards if you want to discourage posting code, it seems to me invitation to do just that as Ron has already done. But OK we will see, I am up for new things.
|
|
|
Post by Basic Bear on May 7, 2021 15:14:55 GMT -5
Well, looks like a total misunderstanding on my part. When I created this forum that is one thing that I didn’t think of.
Here was my thinking when refering to sharing code: Programming languages, basic or otherwise, that have forums are designed for sharing source code as well as getting help for that language. There is also github and other clones of github for sharing code. Sharing code here would be a bit redundant (unnecessary), but it could be also a backup just in case a mishap happens.
You made a good reply and I thank you for it.
|
|
|
Post by bplus on May 7, 2021 16:40:42 GMT -5
Well, looks like a total misunderstanding on my part. When I created this forum that is one thing that I didn’t think of. Here was my thinking when refering to sharing code: Programming languages, basic or otherwise, that have forums are designed for sharing source code as well as getting help for that language. There is also github and other clones of github for sharing code. Sharing code here would be a bit redundant (unnecessary), but it could be also a backup just in case a mishap happens. You made a good reply and I thank you for it. You make a good point about redundancy, some forums are handy for archiving but you guys might have another mission in mind. As a matter of fact sometimes it's easier to find code I posted at a forum than it is to find it in my records! (I start messing with code after posted and sometimes ruin the good working code.) I have a suggestion for all those Boards started for different PL's. Help get people getting started in trying out different Basic's once they get one pretty well established. I know learning FreeBasic and QB64 (at same time) got crazy to point my FreeBasic code wouldn't work, something about different ways to compile FB I think. But I find defining Types with not just variables but with Subs interesting.
|
|