QBXL.NET, the evolution of QB Acclerator Magazine, has opened. It features reviews of many QB games, technical articles, and many entertaining extras. Check it out! http://www.qbxl.net
Bad idea. Windows XP can run on FAT partitions, and many windows 98 upgrades use it. The best hackish way, aside from actually reading the partition table (which would be hard, make no mistake, and would almost certainly require ASM to access), you should be able to use chkdsk to determine the...
Unfortnately, the only thing I could find on modeQ myself was a poorly documented pascal program, which I based the init code on. Take what you see above, by all means. It's in the public domain for everyone to use now. :)
If you're interested in how to plot a pixel, my putd statement covers...
'SJ Zeros PureQB ModeQ graphics routines
'This is just a very simple batch of routines I
'slapped together to show that ModeQ can be done
'in PureQB. To use them, set the video mode using
'setModeQ, put dots on the screen using putd(x,y,colour)
'exit the program at the end using deinit, or...
Yep, I think I have it. I just need to test it on another machine, and if that works, I'll post the code here for you to see. It's quite simple, since mode Q is a chained mode.
I've looked at the specs for ModeQ, and I'm almost positive I can get this running. Please give me a few days, and I will try to get some sample code running. Looks like it should run fast. :)
using wordpad, cut that extra text right out of the program using (appropriately enough) the cut command. Then save the file. Now open the file in QB, and make it into a window. point your text cursor to where the code started before, right click on the top of the window, go to edit, and hit...
Why not write a file with the date of the first day the program is run into %systemroot%, then every day after, and if the clock is turned back before the previous date, the program disables itself by writing something in that file? It's a bit sloppy, but I dare you to find a better way under...
Could you please elabourate? I read your question and it almost sounds like you mean a 2 element 1 dimensional array...
and that would be...
dim nums(1 to 2)
for a = 1 to 2 ' this is unnessesary
input nums(a)
next a
result = 0
for a = 1 to 2 ' this is really unnessesary. It's embarassing...
There is no way to make something an actual percentage ie. Print z would display "50%". What you can do, however, is possible to go z=n/100 to get .5, which you could then use as a percentage, just like someone above said.
Remember, a huge part of programming is telling the computer...
They won't. Just like DirectX 8 and IE6 don't work under Windows 95, microsoft is trying to nudge reluctant consumers towards it's later product line. After NT4 is almost a decade old, and you know the old adage--a customer who doesn't buy anything isn't a customer! :)
I'm using PEEK and POKE, along with IN and OUT, to do all the graphics for my RPG-in-progrsss, Quest for a King (http://powerusr.rpg-dev.net). Once you know where certain things are held in memory, you can use peek and poke to find out stuff about the current configuration, or change stuff, like...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.