Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 3,053
» Latest member: lasvegascasino
» Forum threads: 10,302
» Forum posts: 57,110

Full Statistics

Online Users
There are currently 46 online users.
» 0 Member(s) | 46 Guest(s)

Latest Threads
Oldies still around?
Forum: General/Misc
Last Post: Pete
10-21-2020, 11:20 AM
» Replies: 102
» Views: 65,178
Can I use labels in SUBs
Forum: QB Discussion & Programming Help
Last Post: jofers_
08-11-2020, 01:12 PM
» Replies: 1
» Views: 231
Old forum still viewable
Forum: Site/Forum Issues
Last Post: Kitto
07-06-2020, 03:23 PM
» Replies: 5
» Views: 14,143
Fixing QBOHO
Forum: Site/Forum Issues
Last Post: wildcard
03-06-2020, 02:49 PM
» Replies: 1
» Views: 337
Holy **** it's been 8 f--...
Forum: General/Misc
Last Post: Deleter
12-15-2019, 04:13 AM
» Replies: 14
» Views: 10,513
Just updated Pete's QB Si...
Forum: General/Misc
Last Post: wildcard
10-15-2018, 02:00 PM
» Replies: 3
» Views: 1,810
"A Love Letter To FreeBAS...
Forum: QB/FB News
Last Post: wildcard
10-12-2018, 02:29 PM
» Replies: 0
» Views: 4,024
V Planet! archive now ava...
Forum: QB/FB News
Last Post: wildcard
10-12-2018, 02:18 PM
» Replies: 0
» Views: 2,633
Anyone have a copy of QBR...
Forum: General/Misc
Last Post: Pete
10-12-2018, 04:19 AM
» Replies: 16
» Views: 10,175
QBRpgs.com archive online
Forum: QB/FB News
Last Post: Pete
05-31-2018, 01:04 PM
» Replies: 2
» Views: 4,984

 
  Can I use labels in SUBs
Posted by: jhesski - 06-04-2020, 10:05 PM - Forum: QB Discussion & Programming Help - Replies (1)

I have recently returned to Qbasic after many years.
I never used SUBs before but I am attempting to learn and use them as I think they will make the code cleaner.

I moved some code from the main code to a SUB and it appears labels or line numbers are not allowed in a SUB?
I looked in the help and I don't see any place in the documentation that says this will not work.
Can someone explain if I need to do something different or why this would not work?

Code:
SUB init
  KEY 16, CHR$(0) + CHR$(1)
  ON KEY(16) GOSUB foo
  KEY(16) ON

  foo:
    print "you did it"
END SUB

I get an error of "Label not defined" when I try to run the code.

Thank you for your help.

Print this item

  Fixing QBOHO
Posted by: jofers_ - 03-05-2020, 09:15 AM - Forum: Site/Forum Issues - Replies (1)

New forum looks nice! Um, anybody here though?

I was doing some  nostalgia clicking, and I noticed QBOHO was in pretty bad shape:
http://www.qbasicnews.com/qboho/

I scraped that together years ago with a python script that parsed the rtf output of HELPMAKE.EXE and dumped it into a bunch of HTML files, which wildcard translated and uploaded. It used the IE-only "terminal" font, tables, &nbsp padding, and other horrors to replicate that loving "DOS" look, and it's all horribly broken now of course.

Nowadays browser support for Unicode, custom fonts, CSS, etc. is much better. Even the QuickHelp tooling is better. I found this C# tool which already converts quickhelp files to UTF-8 encoded HTML:
https://github.com/fancidev/DosHelp

So I wrote another Python script to reprocess that a bit further. I used one of the fonts from here:
https://int10h.org/oldschool-pc-fonts/fontlist/

And then packed everything into one CSS-only HTML page that uses anchor links to jump between topics, and the :target selector to show one topic at a time. Having only one page should make it a little easier to embed somewhere else. Sure, it's a 1.2MB but since it's all whitespace and English, that gzips down to 240kb. And the average webpage is 3MB so who cares?

Anyway, the result:
https://parkertomatoes.github.io/qboho/
https://github.com/parkertomatoes/parker...ster/qboho

Possible to get it updated here?

Print this item

  "A Love Letter To FreeBASIC" Competition (Oct 2018 – Jan 2019), 250 $ 1st prize
Posted by: wildcard - 10-12-2018, 02:29 PM - Forum: QB/FB News - No Replies

Lachie is hosting a FreeBASIC Competition. Details can be found at http://games.freebasic.net/forum/index.php?topic=623.0

Print this item

  V Planet! archive now available at Pete's QB Site
Posted by: wildcard - 10-12-2018, 02:18 PM - Forum: QB/FB News - No Replies

V Planet!, the online QB magazine, is now back online with an archive thanks to Pete from Pete's QB site. http://vplanet.petesqbsite.com/

Print this item

  Just updated Pete's QB Site... 20 year anniversary :)
Posted by: Pete - 10-12-2018, 11:42 AM - Forum: General/Misc - Replies (3)

It's the first update in 10 years, but hey!  It's an update!

http://www.petesqbsite.com

I also restored an archive of V Planet!  The site hasn't been online in nearly 10 years, aside from archive.org.

http://vplanet.petesqbsite.com

Print this item

  QBRpgs.com archive online
Posted by: wildcard - 01-01-2018, 01:43 PM - Forum: QB/FB News - Replies (2)

Fling-master has uploaded an archive version of QBRpgs.com to http://qbrpgs.blarg.ca/. It's in read only mode but contains a lot of great information.

Print this item

  I just discovered that QB Games in the Browser is a thing
Posted by: Rokkuman - 09-14-2017, 06:00 AM - Forum: General/Misc - Replies (1)

And it's ridiculously awesome.  So many of our classics, mere clicks away!

[Image: DfGedDO.png]

[Image: ED592TZ.png]

Though evidently, this news isn't quite breaking!



Print this item

  Removed links to sites that are no longer active or QBasic related
Posted by: wildcard - 09-03-2017, 12:14 AM - Forum: QB/FB News - Replies (2)

It's been a long while since the last update to the website but I've finally checked the links on the front page. It's unfortunate several high profile sites are no longer working or have been replaced with spam or unrelated content. If you notice anything wrong or looking strange on the website please leave a comment below or email  me. Qbasic may be a little less popular than it used to be but I'm keen to keep this site running well even if it's a little quiet.

Print this item

  Relsoft needs help... for real.
Posted by: Dr_Davenstein - 03-20-2017, 12:44 AM - Forum: General/Misc - Replies (1)

His wife has cervical cancer and he's being forced to sell his property to pay medical expenses. You guys know him and how good of a person he is. How many of us has he tutored for free? Let's show him how much we appreciate that. Not only that, but it's just love. I don't know about the rest of you guys, but I've gotten so close to him over the years, he's like my brother. Let's see how much we can help. Please contribute if you can. Don't feel bad if you can't.

https://www.gofundme.com/helping-relsoft-and-his-family

Print this item

  Qbasic history
Posted by: Optimus - 07-04-2014, 05:35 PM - Forum: General/Misc - Replies (1)

I am wondering, are there any old articles/pages talking about the history of qbasic scene, when the communities were formed, what were the highlights of each year, and all that? I do remember reading one such article about 3d graphics in quickbasic, describing some early years I didn't know (like first triangle rasterizer at 1992 running on 286 at good speed)  and later years with demos or game engines I remember and was impressed. Now I am curious about the same for games that were highlights of the year, maybe some stories, the QB is long dead and forgotten and it will make me happy to read some old or newer articles describing how was the community during earlier or later years.

Print this item