Qbasicnews.com
May 19, 2019, 03:59:47 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: New QBasic/FB Challenge  (Read 3261 times)
tannervp
Member
*
Posts: 81



« on: December 22, 2005, 01:08:54 AM »

Create a program that teaches:

QBasic with QBasic
FB with FB


EDIT: Must have user-interaction.
I'll give you... 5 days


P.S. My computer hates my programming programs... please make it an exe file.


~tannervp
Logged

y name is Nobody, and nobody's perfect. So now I am perfect Tongue

98% of the teenage population smokes or has smoked pot. If you're one of the 2% who hasn't, copy and paste this in your signature.
stylin
Ancient QBer
****
Posts: 445


« Reply #1 on: December 22, 2005, 02:40:42 AM »

Or just write a tutorial. What's the challenge?
Logged

stylin:
Sterling Christensen
Na_th_an
*****
Posts: 1328


« Reply #2 on: December 22, 2005, 03:37:36 PM »

You mean with the same BAS file?

Here's a start:
Code:
a = 1.3
IF a = 1 THEN
   ' a is an integer, this is FB
   PRINT "Welcome to the FreeBASIC tutorial"
ELSE
   ' a is a single, this is QB
   PRINT "Welcome to the QuickBASIC tutorial"
ENDIF
Like that?
Logged
TheDarkJay
I hold this place together
*****
Posts: 913



WWW
« Reply #3 on: December 22, 2005, 04:13:39 PM »

I think he means more like

Code:
PRINT "The print command displays the text entered on the screen. So PRINT "Hello World" will do this:"

PRINT "Hello World"
Logged

url=http://www.sloganizer.net/en/][/url]
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!