New FreeBASIC beginners website

For other topics related to the FreeBASIC project or its community.
BasicCoder2
Posts: 2479
Joined: Jan 01, 2009 7:03

Re: New FreeBASIC beginners website

Postby BasicCoder2 » Dec 27, 2016 22:33

Franktic wrote: MS Small Basic looks interesting but I haven't played with it yet.


I liked it as an introduction to Visual Basic programming for a beginner. It has features that I would have liked FreeBASIC to have evolved into.



Indeed I had forgotten about that one. Must go through it again as a refresher. For some reason the Next-> link at tutorial 7 doesn't move on to the next tutorial. I had to return to the index and click the menu item tutorial 8. I have saved the pages onto my computer in case they vanish from the internet.
owen
Posts: 246
Joined: Apr 19, 2006 10:55
Location: Kissimmee, FL
Contact:

Re: New FreeBASIC beginners website

Postby owen » Jan 01, 2017 2:29

Good job Franktic
Franktic
Posts: 10
Joined: Nov 24, 2016 2:35

Re: New FreeBASIC beginners website

Postby Franktic » Apr 05, 2017 11:06

After a short break I have posted a new post that looks at arrays, conditionals, and loops. The link is: http://www.frankticfreebasic.com/2016/11/7-arrays-conditionals-and-loops.html Let me know what you think.
leopardpm
Posts: 1317
Joined: Feb 28, 2009 20:58

Re: New FreeBASIC beginners website

Postby leopardpm » Apr 06, 2017 14:06

Keep up the good work, Franttic!
owen
Posts: 246
Joined: Apr 19, 2006 10:55
Location: Kissimmee, FL
Contact:

Re: New FreeBASIC beginners website

Postby owen » Apr 07, 2017 12:24

I learn by example mostly so I thought I would suggest you add quick code examples for each of your examples. New programmers will be copying and pasting your code snippets to see them in action. It's part of their learning process.

1D ARRAY Example
The Fender guitar company stamps a unique serial number...
dim as integer i
dim as integer fender(3)
fender(1)=1000
fender(2)=877
fender(3)=456
for i = 1 to 3
print "fender guitar serial #";i;"is worth $";fender(i)
next

2D ARRAY EXAMPLE
A typical suburban street has a row of houses...
dim as integer x,y
dim as string house(2,4) ' first name, last name, box number, street name
house(1,1)="Frank"
house(1,2)="Tic"
house(1,3)="123"
house(1,4)="Elm Ave"
house(2,1)="Mo"
house(2,2)="Jo"
house(2,3)="456"
house(2,4)="Oak Street"
for x=1 to 2
print house(x,1)
for y=1 to 4
print house(x,y);" ";
next
print
next
Franktic
Posts: 10
Joined: Nov 24, 2016 2:35

Re: New FreeBASIC beginners website

Postby Franktic » Apr 11, 2017 9:54

Thanks Owen - If you don't mind I would like to add your code to my blog - credited to you of course.
owen
Posts: 246
Joined: Apr 19, 2006 10:55
Location: Kissimmee, FL
Contact:

Re: New FreeBASIC beginners website

Postby owen » Apr 11, 2017 13:06

You're welcome. Yes, please feel more then welcome to post (copy) any of my code from this forum.
I hope you write about a simple program to find prime numbers, as I recall hearing this is usually the 2nd program to learn how to write after the Hello World program. Also this would be a good topic to follow up on if and when you explain how to use some of the wonderful libraries such as GMP.

Good job.
Plasma
Posts: 191
Joined: May 27, 2005 5:22
Location: Earth
Contact:

Re: New FreeBASIC beginners website

Postby Plasma » Apr 14, 2017 23:39

I only had time to skim it but it looks pretty good. One suggestion I have is to display the images inline at 100% size. Right now they are resized slightly smaller which makes them appear blurry unless you click on them.
owen
Posts: 246
Joined: Apr 19, 2006 10:55
Location: Kissimmee, FL
Contact:

Re: New FreeBASIC beginners website

Postby owen » Apr 19, 2017 19:24

I wrote a freebasic interpreter for use in the fbcad project.
http://www.freebasic.net/forum/viewtopic.php?f=8&t=7441&hilit=fbcad

It does not interpret all of the freebasic's commands. see fbcadcam.com user guide, scroll to the bottom of the page to see the macro section and supported commands.

I am following your lead as I am also working on a programmer's guide for my fbscript (macro) language.

If i may, I would like to link to your site.
And the way you are doing it makes it easy to link to specific parts which is great.

These links I would like permission to put on my programmers guide page (under development)
http://www.frankticfreebasic.com/2016/11/welcome-to-my-programming-in-freebasic.html
http://www.frankticfreebasic.com/2016/12/a-fundamental-set-of-instructions-part-2.html
http://www.frankticfreebasic.com/2016/12/a-fundamental-set-of-instructions-part-3.html
http://www.frankticfreebasic.com/2016/11/7-arrays-conditionals-and-loops.html

These next 3 links I would like to permission to put on my Install Notes page
http://www.frankticfreebasic.com/2016/11/install-freebasic-my-computer.html
http://www.frankticfreebasic.com/2016/12/finish-setting-up-environment-prep-work.html
http://www.frankticfreebasic.com/2016/11/testing-ide-and-fundamental-set-of.html

I think the more specific each post to your blog is the better it is for others to link to specific sections of your blog but by linking to each individual blog post, the only navigation from there is HOME at the top of the blog post.
I think you got to put navigation buttons at the top and bottom of your pages or something. Like: Previous post or Next post. Oh, I see you got links at the bottom titled Newer and Older Posts but it seems to be backwards.
leopardpm
Posts: 1317
Joined: Feb 28, 2009 20:58

Re: New FreeBASIC beginners website

Postby leopardpm » Apr 21, 2017 3:42

Sounds like a great project, Owen!

All the links you are wanting permission for are owned by someone else, not part of 'freebasic official' (I think) - I don't think linking to them is a problem though, but I cannot speak for them (Frantic is his user name - looks like you already asked him for permission on his blog and he had no problem back in January)

Keep posting updates here though so we can follow along - I like you project! Great Job!
Franktic
Posts: 10
Joined: Nov 24, 2016 2:35

Re: New FreeBASIC beginners website

Postby Franktic » Apr 23, 2017 6:38

Hi Owen - I have no problem with you linking to my posts. I'm using Google's Blogger to host my blog but use my own domain.
I have a cludge where I change each post I publish to be one day before the previous post. In that way the post 1 is at the top and the most recent post is at the bottom. This makes sense for tutorials but means that the Blogger buttons don't work as they should. Ah well, can't have everything. By the way, FBCAD is pretty impressive!

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest