CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 09 Aug 2025 11:12:54 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080420175617
location: https://web.archive.org/web/20080420175617/https://www.daniweb.com/code/qbasic.html
server-timing: captures_list;dur=2.798847, exclusion.robots;dur=0.023050, exclusion.robots.policy;dur=0.010031, esindex;dur=0.011851, cdx.remote;dur=497.048439, LoadShardBlock;dur=1403.278201, PetaboxLoader3.datanode;dur=337.199559, PetaboxLoader3.resolve;dur=786.343119
x-app-server: wwwb-app204
x-ts: 302
x-tr: 1927
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app204; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sat, 09 Aug 2025 11:12:55 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Sun, 20 Apr 2008 17:56:17 GMT
x-archive-orig-server: Apache/2.2
x-archive-orig-x-powered-by: PHP/5.1.6
x-archive-orig-set-cookie: bblastvisit=1208710123; expires=Mon, 20-Apr-2009 17:56:17 GMT; path=/; domain=.daniweb.com
x-archive-orig-set-cookie: bblastactivity=0; expires=Mon, 20-Apr-2009 17:56:17 GMT; path=/; domain=.daniweb.com
x-archive-orig-cache-control: private
x-archive-orig-pragma: private
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 20 Apr 2008 17:56:17 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 12 May 2005 06:06:57 GMT", ; rel="prev memento"; datetime="Tue, 18 Mar 2008 17:52:04 GMT", ; rel="memento"; datetime="Sun, 20 Apr 2008 17:56:17 GMT", ; rel="next memento"; datetime="Thu, 15 May 2008 13:21:12 GMT", ; rel="last memento"; datetime="Fri, 28 Mar 2014 06:27:01 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_3_20080420121510_crawl107-c/51_3_20080420174105_crawl104.arc.gz
server-timing: captures_list;dur=0.462803, exclusion.robots;dur=0.017889, exclusion.robots.policy;dur=0.008424, esindex;dur=0.010517, cdx.remote;dur=79.677298, LoadShardBlock;dur=1087.150333, PetaboxLoader3.resolve;dur=761.765391, PetaboxLoader3.datanode;dur=134.288032, load_resource;dur=150.032876
x-app-server: wwwb-app204
x-ts: 200
x-tr: 1378
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
qbasic Code Snippets
qbasic Syntax
•
•
•
•

What is DaniWeb IT Discussion Community?
You're currently browsing the Legacy and Other Languages section within the Software Development category of DaniWeb, a massive community of 315,086 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,487 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Legacy and Other Languages advertiser:
•
•
•
•
A simple experiment with the ever so popular Mandelbrot fractal graphics, call it mathematical art, nice to look at. This set of experiments loops through a number of colors to make the whole thing more exciting. (View Snippet)
I look at BCX-basic as a modernized qbasic. This simple code creates a Windows GUI program that plays a midi instrumental music file. To keep it simple, the file it looks for is "TheRose.mid" file. If you don't have this file, you have the option of editing the code, or simply to rename a midi... (View Snippet)
One more look at BCX basic code to show the qbasic programmers how they can modernize. This shows a function that converts an integer value to a binary string. Notice that with BCX basic you need to declare your variables. Makes the code a little easier to read too. Variable, Function and Sub... (View Snippet)
This shows you how to create a Windows GUI program in BCX basic and embed the Media Player in the form. It will give you a fully functional player with a 30k executable size for your MP3 files. The needed header files and library files are included in the BCX download. The ATL.DLL and... (View Snippet)
New to me, but MS InternetExplorer does have COM support you can access from basic code. I had to test this out and make it work. We are using BCX basic, one of the successors to Qbasic. (View Snippet)
Another look at BCX basic. Here we use COM support to manipulate Excel. In other words, from within the basic code we are entering a few numbers into the Excel spreadsheet and add them up. Of course you can do much more powerful stuff. With COM support you can also access Word and the Internet... (View Snippet)
I just had to do this to see how it would look like in the code field. This small prime number generator is written in BCX basic, a mildy more modern basic than Qbasic. With BCX basic you can throw in C and assembler code and it would actually compile it. Gives you the familiar comfort of basic,... (View Snippet)
This is a little program in QBasic which counts the number of characters in a string. Made by Buff - two errors removed by me. Thanks Buff. (View Snippet)
- Today's Posts
- Unanswered Threads
Related Features
DANIWEB FEATURE INDEX
ADVERTISEMENT
STATISTICS