a cool old TUTORIAL

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

a cool old TUTORIAL

Postby yor » Oct 13, 2007 22:07

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:

Postby Hexadecimal Dude! » Oct 13, 2007 22:29

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

Postby io » Oct 14, 2007 4:34

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

Postby io » Oct 14, 2007 4:50

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

Postby io » Oct 14, 2007 7:02

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

Postby yor » Oct 14, 2007 7:37

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:

Postby mobleyj91 » Oct 14, 2007 7:44

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: 3799
Joined: May 27, 2005 8:08
Location: SP / Bra[s]il
Contact:

Postby v1ctor » Oct 14, 2007 13:03

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:

Postby notthecheatr » Oct 17, 2007 20:05

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:

Postby KristopherWindsor » Oct 17, 2007 22:22

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:

Postby notthecheatr » Oct 17, 2007 22:27

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.

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 4 guests