a cool old TUTORIAL

New to FreeBASIC? Post your questions here.
Post Reply
yor
Posts: 2
Joined: Oct 13, 2007 22:02

a cool old TUTORIAL

Post by yor »

H i boy,
searching on the web i've found this nice old tutorial (it's about Qbasic but i think it could interest
even the lfreebasic beginner...)
Try to download at :


http://www.network54.com/Realm/QBZips/mpgitqbi.zip

Well, that tutorial has the charateristcs that is written like
a old consolle program in wich you can use the MOUSE to
select "next page" or other options...(try it to understand
better what i mean ).
Now, I'd like to know how it's called that "trick" or procedure that allow
the user to use the mouse in a consolle program.(it's very important to me , i'd like to learn it).

Could someone please help me?
Is it possible to obtain the same with freebasic?



A lot of thanks to whoever will help me,
bye
Hexadecimal Dude!
Posts: 360
Joined: Jun 07, 2005 20:59
Location: england, somewhere around the middle
Contact:

Post by Hexadecimal Dude! »

I just get a blank page if i follow that link, and an empty file if I try to save it.
io
Posts: 9
Joined: Aug 22, 2007 22:26

right link

Post by io »

I'm so sorry,
this is the right link (try please):

http://www.network54.com/Realm/QBZips/QBZips.html

download the file called :
QBasic How-To Tutorial 210KB (mennonite's pretty good intro to qbasic)

now it 'll work....

let me say...
sorry again
io
Posts: 9
Joined: Aug 22, 2007 22:26

sorrry n 2

Post by io »

you are right , the file can not be downloaded, i'don' t know why.
i 've the file , i can send it to you or i can post it somewhere : do you know if it's possible upload file in this forum?
'[/list]
io
Posts: 9
Joined: Aug 22, 2007 22:26

download this

Post by io »

i've upload the file here :

http://forum.swzone.it/showthread.php?p ... post850946

(download the file called QbasicoldTOTORIAL.zip)
it's in the bottom of the page
It's a italian forum in wich i've posted even the same
question (in Italian,of course..)
Please, let me know if there is problem again .
bye everibody
yor
Posts: 2
Joined: Oct 13, 2007 22:02

Re: download this

Post by yor »

io wrote:i've upload the file here :

http://forum.swzone.it/showthread.php?p ... post850946

(download the file called QbasicoldTOTORIAL.zip)
it's in the bottom of the page
It's a italian forum in wich i've posted even the same
question (in Italian,of course..)
Please, let me know if there is problem again .
PS you need to login yourself to download the file, i hope you haven't problem with that ;(click on the word "REGISTRATI"in the left upper corner and follow the usual procedure like other Forum) let me know....

bye everibody
mobleyj91
Posts: 2
Joined: Oct 14, 2007 7:08
Contact:

Post by mobleyj91 »

Does anyone know how to fix the free basic so that it doesnt say that the compiler is not set or it is corrupt when i try to run a program in it?
v1ctor
Site Admin
Posts: 3804
Joined: May 27, 2005 8:08
Location: SP / Bra[s]il
Contact:

Post by v1ctor »

I would recommend you to stay away from 'tutorials' written by the network666 crew. Too much spaghetti code can screw up with your mind forever - you can find many examples of that in their forums.

Search for fbbeginner (http://www.freebasic.net/forum/viewtopic.php?t=6465) or try some of the tutorials, guides or examples in the online docs: http://www.freebasic.net/wiki.
notthecheatr
Posts: 1759
Joined: May 23, 2007 21:52
Location: Cut Bank, MT
Contact:

Post by notthecheatr »

Mouse is easy using fbgfx, just search for SetMouse() and GetMouse() on the wiki. For making it change what's on the screen, you'll probably just put something on the screen, wait for the correct mouse event (using a Do... Loop) and then change the screen contents when that happens. If you don't understand what I just said, you'd best start with the basics and not worry much about using the mouse just yet.

I agree with v1ctor, besides which any mouse program in QBasic will probably have a lot of extra stuff that isn't needed in FB (they will generally need to use special hardware access or interrupt calls - FB has mouse support built in, via fbgfx, so there's no need for that stuff).
KristopherWindsor
Posts: 2428
Joined: Jul 19, 2006 19:17
Location: Sunnyvale, CA
Contact:

Post by KristopherWindsor »

I remember when I first found the mouse code for QB; it was a library of 50 - 100 lines, and I had to change it to compile in other versions of QB. That's one (of many) things improved in FB. :-)
notthecheatr
Posts: 1759
Joined: May 23, 2007 21:52
Location: Cut Bank, MT
Contact:

Post by notthecheatr »

Well that's because QBasic was written for DOS originally, where you didn't have built-in support. FreeBasic has flavours availible in Windows, linux, and DOS - even in DOS, it's much easier now than it was in the past. No need to write the hardware driver yourself, or anything like that. Or interrupt 0x33... remember interrupt 0x33? Good times, but in QBasic doing that sort of thing was just an ugly mess.
Post Reply