Dark Bit Factory & Gravity

GENERAL => General chat => Topic started by: bikerboy on December 30, 2008

Title: freebasic & visualbasic
Post by: bikerboy on December 30, 2008
i was wondering if visualbasic has any common things with freebasic.

i'm asking b/c i was downtown yesterday and i found some visualbasic books in greek.

if those two have common things i was thinking to buy a book for visualbasic so i can  easier learn how to code in freebasic b/c the books are in greek and i won't have to struggle with certain words and meanings :)

if it doesn't have anything in common, what other language is closer to freebasic? so i can search for that language book if there are any :)
Title: Re: freebasic & visualbasic
Post by: Shockwave on December 30, 2008
Not sure how close Freebasic is to VisualBasic, I never used Visualbasic.
I know that Freebasic syntax seems fairly similar to microsoft Quickbasic 45 though.
Title: Re: freebasic & visualbasic
Post by: bikerboy on December 31, 2008
thanx shockwave ;D

tomorrow i'll go downtown again and look for a Quickbasic 45 book
Title: Re: freebasic & visualbasic
Post by: Jim on December 31, 2008
They are quite similar.  A fair amount of old (up to 2003 <edit>To clarify, VB6 stuff might work, VB.NET stuff won't) VB will work with FB with the right options, as long as it's not too tied to Windows or really old 16bit DOS stuff.  Don't expect that there will be anything in the books that will just run without you putting in some work though.

Jim
Title: Re: freebasic & visualbasic
Post by: bikerboy on December 31, 2008
@jim

thanx man :D

if it's newer than 2005? will that do?

the reason i want the book is b/c it's in my language and it will help me understand many things, that's what i'm hoping for.

if i understand those things then i'll know how to make my own simple stuff :D

@shockwave

did you mean Quickbasic 4.5?
Title: Re: freebasic & visualbasic
Post by: Jim on December 31, 2008
Quote
tomorrow i'll go downtown again and look for a Quickbasic 45 book
If you are able to find any, QB45 is 21 years old tomorrow!, you might well find that all the demos work in DOS text modes and are hard to translate.

Quote
if it's newer than 2005? will that do?
Almost certainly too new.  All VB code written after 2001 is likely to be VB.NET, which is specific to Microsoft compilers, and can't be compiled by the FB compiler.

Jim
Title: Re: freebasic & visualbasic
Post by: bikerboy on December 31, 2008
Quote
tomorrow i'll go downtown again and look for a Quickbasic 45 book
If you are able to find any, QB45 is 21 years old tomorrow!, you might well find that all the demos work in DOS text modes and are hard to translate.

i doubt if i find anything, if i do i'll buy a lottery ticket too lol :P

Quote
if it's newer than 2005? will that do?
Almost certainly too new.  All VB code written after 2001 is likely to be VB.NET, which is specific to Microsoft compilers, and can't be compiled by the FB compiler.

so it would be best to look for a visualbasic 2000 version or older book
Title: Re: freebasic & visualbasic
Post by: hellfire on December 31, 2008
There are a lot of books about Visual C++ (http://www.microsoft.com/express/vc) btw...
Title: Re: freebasic & visualbasic
Post by: bikerboy on December 31, 2008
There are a lot of books about Visual C++ (http://www.microsoft.com/express/vc) btw...


will any new versions do? 2008,2007,2006?
Title: Re: freebasic & visualbasic
Post by: Jim on December 31, 2008
Since you'd be using Microsoft's compiler, no problem getting new books.

Jim
Title: Re: freebasic & visualbasic
Post by: bikerboy on December 31, 2008
Since you'd be using Microsoft's compiler, no problem getting new books.

Jim

no i want to use FBIde and freebasic, the only reason i want to buy a book is for understanding what each command does and also for many words i don't know :)
Title: Re: freebasic & visualbasic
Post by: hellfire on December 31, 2008
the only reason i want to buy a book is for understanding what each command does
already read this (http://www.freebasic.net/wiki/wikka.php?wakka=DocToc) ?
Title: Re: freebasic & visualbasic
Post by: Jim on December 31, 2008
C++ and Freebasic are totally different.
Title: Re: freebasic & visualbasic
Post by: bikerboy on December 31, 2008
the only reason i want to buy a book is for understanding what each command does
already read this (http://www.freebasic.net/wiki/wikka.php?wakka=DocToc) ?

yes i did (not all of if), i only need the book for refenence like a dictionary b/c english is not my native language :)

C++ and Freebasic are totally different.

then i'm only looking for QB45 and VB2000 and older :)
Title: Re: freebasic & visualbasic
Post by: ninogenio on December 31, 2008
are you using fbide? its great for new comers. you can look up commands in the help section while you code and there is loads of example code for you too mess with.

c++ wont help you much but i think knowing c helps a lot with freebasic and a lot of other basic laungages in general. just experiment with lots of different things/have fun. when learning its important too keep a broad mind.
Title: Re: freebasic & visualbasic
Post by: bikerboy on December 31, 2008
are you using fbide? its great for new comers. you can look up commands in the help section while you code and there is loads of example code for you too mess with.

c++ wont help you much but i think knowing c helps a lot with freebasic and a lot of other basic laungages in general. just experiment with lots of different things/have fun. when learning its important too keep a broad mind.

yes i'm using FBIde :D

just came back home, no luck in finding any book ::)
Title: Re: freebasic & visualbasic
Post by: Jim on January 01, 2009
You need to go to a museum to find books on QB, not a bookshop!

Jim