PRINT "Hello World!"

Discuss whatever you want here--both QB and non-QB related. Anything from the DEF INT command to the meaning of life!

Moderators: Pete, Mods

Post Reply
dchapman
Newbie
Posts: 2
Joined: Sun Apr 04, 2010 2:00 am

PRINT "Hello World!"

Post by dchapman » Sun Apr 04, 2010 2:09 am

Hi folks.

I'm a newbie--in the truest sense here, I'm new to programming and new to qbasic. Thanks for maintaining such a great site. I'm sifting through the beginner's tutorials, learning just the basics for now.

Anyhoo, if anyone has bookmarked some of the old threads here that you thought were interesting or insightful, please--post them in this thread. Like I say, I'm just working through the beginner's stuff, but sooner or later I'll be moving onto the more advanced stuff, and I love looking through old threads on forums and finding the odd gem here and there.

Eh, just for the info, I've got freebasic installed, and I've been using FBEDIT with the language set for quickbasic. This was recommended to me by a programmer I met at the bookstore, who said I should work my way up in a simple language, before learning about object oriented coding etc.

Happy Easter!

~David

jasbales
Coder
Posts: 17
Joined: Mon Nov 22, 2004 11:36 am
Location: Prescott AZ
Contact:

Post by jasbales » Sun Apr 04, 2010 9:41 pm

Hi David,
The QB scene doesn't seem too lively anymore. Bummer too. But there's a few really good sites still up (like Pete's) that have tons of information and tutorials.

Again, for the info- I'm working with the QuickBASIC compiler and linker from within Programmer's Notepad.

-Jason

dchapman
Newbie
Posts: 2
Joined: Sun Apr 04, 2010 2:00 am

Post by dchapman » Mon Apr 05, 2010 7:45 pm

Ya.

I've joined a handful or so qb-related forums and it does seem like there's not a whole lot of activity. Then again, many forums I've been on over the years go through periods of ebb and flow. Some months the boards are packed with new threads etc, other months all you see is replies to old ones.

Well, thanks for the welcome. If you have any bookmarks you can throw my way, please do.

~David

User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA
Contact:

Post by coma8coma1 » Wed Apr 07, 2010 3:24 am

I'm convinced that qb64 is the future of QB.

angela88
Newbie
Posts: 4
Joined: Thu Apr 15, 2010 10:44 am

Post by angela88 » Thu Apr 15, 2010 10:46 am

Thanks for sharing with us! :)

addison1949
Newbie
Posts: 1
Joined: Fri Apr 23, 2010 1:32 am

Post by addison1949 » Fri Apr 23, 2010 1:39 am

dchapman wrote: I've joined a handful or so qb-related forums and it does seem like there's not a whole lot of activity. Then again, many forums I've been on over the years go through periods of ebb and flow. Some months the boards are packed with new threads etc, other months all you see is replies to old ones.
Yeah, seems too quiet right now. There is still a ton of info here but doesn't look like support is going to be great. Oh well.

-addison

angela88
Newbie
Posts: 4
Joined: Thu Apr 15, 2010 10:44 am

Post by angela88 » Fri Apr 23, 2010 10:46 am

Hellooooo :)

Thanx for sharing with us!



Watch Online Gossip Girl

User avatar
burger2227
Veteran
Posts: 2369
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Fri Apr 23, 2010 6:11 pm

There is plenty of support for Qbasic. All you need to do is ask.

Welcome everybody!

Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

tomstyler23
Newbie
Posts: 2
Joined: Sat Jul 10, 2010 4:58 am

Post by tomstyler23 » Sat Jul 10, 2010 5:03 am

Hello world... :)
I'm a Software Executive who cares about UI and UX, scours social media & web, lives in London. Oh, and I blog and speak at conferences mostly with Aiping Wang

User avatar
GarryRicketson
Veteran
Posts: 90
Joined: Fri Jul 16, 2010 10:02 am
Location: Cuencame,Durango,Mexico
Contact:

HelloWorld

Post by GarryRicketson » Sat Jul 17, 2010 11:03 am

HelloWorld,
I noted above David mentions, useing FBedit, and selecting Qbasic as language, I did not know it had that option, I have FBEDIT but had not really tried to use it, I just bareley am starting to grasp qbasic, thanks
to this site, and some of the tutorials, Although I am 56 rs old, the tutorial
that helped me get started was one for kids, also the one "bootcamp" is
helping, When I started useing computers, there was no windows,andthen
windows 3.1 came out,...but I am not comfortable using windows,nor MSoffice,....only just recently, I got interested in trying to learnhow to
"program" or write games, or prgram that suites me personally...QBASIC
is a good start, and maybe later I can moveup toC+ or more, but I dont
think so, I like the simplicity, OFqbasic, DOS, and the versatility....
I guess thats all, now, I dont really haveanything much to show yet,
If anyone can give some details on how to put GIF animations, into
QB program, or if it cannot run GIF, what kind of format....obviously
in the games, there are moveing images...but I am confused asto
how to put them into a qbasic program?
Thanks andnice to meet you all
From Garry

User avatar
GarryRicketson
Veteran
Posts: 90
Joined: Fri Jul 16, 2010 10:02 am
Location: Cuencame,Durango,Mexico
Contact:

Post by GarryRicketson » Mon Jul 26, 2010 7:02 pm

burger2227 wrote:There is plenty of support for Qbasic. All you need to do is ask.

Welcome everybody!

Ted
From Garry.Ok Ted,...I am wonder if and how to put a GIF image, into
a qbasic prgram,if it is possible, ..Do I need this QB64?...can it be done
so the gif plays useing Dos?
from Garry :?

User avatar
burger2227
Veteran
Posts: 2369
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Tue Jul 27, 2010 2:18 am

Not GIF in Qbasic. You can load BMP files using GET # file reads and using BSAVE or BLOAD. You will need a photo program to change GIF to Bitmap. I have already created these programs to do the dirty work. Goto this link:

http://qbasicstation.com/index.php?c=p_member&filecat=2

Look for BSAVER and BLOADANY and download. You can try using the code from the BAS files or read the Readme.txt file. I hope you know what your doing. It's not the easiest stuff to understand at first.

A better option might be to goto QB64.net link at bottom of my posts. QB64 uses Qbasic commands and has new commands and functions to load most images easily. I recommend that as QB's days are numbered with the 64 bit machines coming on strong.

Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
GarryRicketson
Veteran
Posts: 90
Joined: Fri Jul 16, 2010 10:02 am
Location: Cuencame,Durango,Mexico
Contact:

Not GIF in Qbasic.....

Post by GarryRicketson » Wed Jul 28, 2010 7:04 pm

burger2227 wrote:Not GIF in Qbasic. You can load BMP files using GET # file reads and using BSAVE or BLOAD. You will need a photo program to change GIF to Bitmap. I have already created these programs to do the dirty work. Goto this link:

http://qbasicstation.com/index.php?c=p_member&filecat=2

I hope you know what your doing. It's not the easiest stuff to understand at first.
GARRY: OK, I just downloaded QB64 last night...I think I will like it,
also the turorial...I was to tired to do much,... On know what I am doing,
well this is a problem...not really,but learning....
As soon as I get a chance I am going to follow up on the other links you
suggest...
Yes it looks to me this might be easier useing QB64,....
A better option might be to goto QB64.net link at bottom of my posts. QB64 uses Qbasic commands and has new commands and functions to load most images easily. I recommend that as QB's days are numbered with the 64 bit machines coming on strong.
GARRY: So just to say thanks for makeing this stuff available, and I do read the replies
Ted
From Garry

User avatar
GarryRicketson
Veteran
Posts: 90
Joined: Fri Jul 16, 2010 10:02 am
Location: Cuencame,Durango,Mexico
Contact:

Post by GarryRicketson » Sat Mar 26, 2011 8:22 pm

not GIF in Qbasic. You can load BMP files using GET # file reads and using BSAVE or BLOAD. You will need a photo program to change GIF to Bitmap. I have already created these programs to do the dirty work. Goto this link:

http://qbasicstation.com/index.php?c=p_member&filecat=2

I hope you know what your doing. It's not the easiest stuff to understand at first.
I was just looking at this, it was some time ago, remembering how much trouble I had understanding this stuff, still do, all though I understand more, These are a couple of the first things I did.

Code: Select all

SCREEN 12

OPEN "MAN.AXB" FOR BINARY AS #1
ArraySIZE& = (LOF(1) - 7) / 2
DIM MANARRAY(1 TO ArraySIZE&) AS INTEGER
CLOSE #1

DEF SEG = VARSEG(MANARRAY(1))
BLOAD "MAN.AXB", VARPTR(MANARRAY(1))
DEF SEG

'Set palette
OUT &H3C4, 0
FOR n = 9 TO 56
    OUT &H3C9, MANARRAY(n)
NEXT n

'Display the frames in sequence
PRINT "HelloWorld"
DO
PLAY "Mba15a12bgff12eag14fbc8de10aa"
    FOR i = 0 TO MANARRAY(57) - 1
        PUT (100, 200), MANARRAY(58 + i * 1635), PSET
             a$ = INPUT$(0) 'pause between frames
        Interval! = .2
        t! = TIMER
        DO
            IF TIMER <t> t! + Interval!
   NEXT i
    'LOOP UNTIL a$ = INPUT$(1)
LOOP WHILE INKEY$ = ""
This was done with and qb4.5,for dos, the other Smiley Face, actually was done with qb64, for the .AXB file (images) and both "mini" programs,..at my drop box:
http://dl.dropbox.com/u/15387474/SMILEYFACE.zip
http://dl.dropbox.com/u/15387474/A6MEN.rar
I owe much thanks to TheBob" , Bob Seguin , useing his animax program ,and Ted, for helping introduce me to this stuff, and pointing me to
http://www.qb64.net
guess thats about it
from Garry
Last edited by GarryRicketson on Sat Mar 26, 2011 10:26 pm, edited 1 time in total.

User avatar
burger2227
Veteran
Posts: 2369
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 » Sat Mar 26, 2011 9:57 pm

"TheBob" is Bob Seguin from Canada. He can be contacted at the N54 site:

http://www.network54.com/Index/10167
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

User avatar
GarryRicketson
Veteran
Posts: 90
Joined: Fri Jul 16, 2010 10:02 am
Location: Cuencame,Durango,Mexico
Contact:

Post by GarryRicketson » Sat Mar 26, 2011 10:29 pm

OOPs! sorry about that, I made the correction.
from Garry

Post Reply