New FreeBASIC beginners website

General discussion for topics related to the FreeBASIC project or its community.
BasicCoder2
Posts: 3906
Joined: Jan 01, 2009 7:03
Location: Australia

Re: New FreeBASIC beginners website

Post by BasicCoder2 »

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: 555
Joined: Apr 19, 2006 10:55
Location: Kissimmee, FL
Contact:

Re: New FreeBASIC beginners website

Post by owen »

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

Re: New FreeBASIC beginners website

Post by Franktic »

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/1 ... loops.html Let me know what you think.
leopardpm
Posts: 1795
Joined: Feb 28, 2009 20:58

Re: New FreeBASIC beginners website

Post by leopardpm »

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

Re: New FreeBASIC beginners website

Post by owen »

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: 18
Joined: Nov 24, 2016 2:35

Re: New FreeBASIC beginners website

Post by Franktic »

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

Re: New FreeBASIC beginners website

Post by owen »

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: 205
Joined: May 27, 2005 5:22
Location: Earth
Contact:

Re: New FreeBASIC beginners website

Post by Plasma »

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: 555
Joined: Apr 19, 2006 10:55
Location: Kissimmee, FL
Contact:

Re: New FreeBASIC beginners website

Post by owen »

I wrote a freebasic interpreter for use in the fbcad project.
http://www.freebasic.net/forum/viewtopi ... ilit=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/1 ... basic.html
http://www.frankticfreebasic.com/2016/1 ... art-2.html
http://www.frankticfreebasic.com/2016/1 ... art-3.html
http://www.frankticfreebasic.com/2016/1 ... loops.html

These next 3 links I would like to permission to put on my Install Notes page
http://www.frankticfreebasic.com/2016/1 ... puter.html
http://www.frankticfreebasic.com/2016/1 ... -work.html
http://www.frankticfreebasic.com/2016/1 ... et-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: 1795
Joined: Feb 28, 2009 20:58

Re: New FreeBASIC beginners website

Post by leopardpm »

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: 18
Joined: Nov 24, 2016 2:35

Re: New FreeBASIC beginners website

Post by Franktic »

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!
owen
Posts: 555
Joined: Apr 19, 2006 10:55
Location: Kissimmee, FL
Contact:

Re: New FreeBASIC beginners website

Post by owen »

@ leopardpm thanks for telling me Franktic gave me the ok to link to his site.
I was trying to communicate with Franktic initially via his website comment section to ask for permission and didn't realize he had responded until yesterday.

@ Franktic : due to the way you are manipulating the order of your posts I want to make sure the url remains the same. So I'll wait for your next post in your blog to see the results.
I briefly researched your post order issue using google blogger and I think you are using the best practical method.

Ps frantic. It was not my intention to post a comment in your comment section about a missspelling. I only mentioned it as common courtesy. I missspell alot. was just trying to establish comms. is that something you can remove?

@ freebasic community:I think linking to and commenting in Fraktic's blog along with other sites can be helpful to steer new programmers to freebasic.
Franktic
Posts: 18
Joined: Nov 24, 2016 2:35

Re: New FreeBASIC beginners website

Post by Franktic »

Hi Owen, as it happens I do have another post - mostly using your code :-) I can get rid of your comment but I will say I was happy to have someone comment at all! You put a post out there and you have no idea if anyone is even looking.
Revisiting the comment, though, your follow up comment in April gives a good insight into your experiences and I would hate to lose that by deleting the thread. So I'm happy to leave it, if ok.
@freebasic community: please link to my site if you wish although it would be nice if you let me know, even after you have linked, by leaving a comment on the blog or in this forum.
I am far from being an expert programmer but I'm happy to share what I learn about freebasic as I write utilities for myself.

Thanks for your support.
owen
Posts: 555
Joined: Apr 19, 2006 10:55
Location: Kissimmee, FL
Contact:

Re: New FreeBASIC beginners website

Post by owen »

first links 2 U are @ http://fbcadcam.com/Install_notes.html

ps, don't delete thread.
Imortis
Moderator
Posts: 1923
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: New FreeBASIC beginners website

Post by Imortis »

I added a link to the front page of Back2BASIC. I don't know if anyone is still finding the site or even cares about it these days, but I figured it couldn't hurt.
Post Reply