Qbasicnews.com
New QBasic/FB Challenge - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: QbasicNews.Com (http://qbasicnews.com/newforum/forum-3.html)
+--- Forum: Challenges (http://qbasicnews.com/newforum/forum-10.html)
+--- Thread: New QBasic/FB Challenge (/thread-8614.html)



New QBasic/FB Challenge - tannervp - 12-22-2005

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


New QBasic/FB Challenge - stylin - 12-22-2005

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


New QBasic/FB Challenge - Sterling Christensen - 12-22-2005

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?


New QBasic/FB Challenge - TheDarkJay - 12-23-2005

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"