I have an encryption program, and I would like to use it to encrypt certain executable files. Unfortunately, I get an error when I use and open statement to read the files. Why is this, and how do I get around it?
Anyone who has done any c, cpp, c# has been warned about the evils of using global varibles. You should not use them period according to most books. My question is:
If you are not using them to excess, are they consider bad programming in Qbasic?
I was reading the faq on quicksort. Would not this be every bit as fast? It does not require the user to enter a start and quit point, it is nicer code, and easier to understand. var is your array:
FOR a = UBOUND(var) TO 0 STEP -1
FOR b = 1 TO UBOUND(var)
IF var(b) > var(a) THEN SWAP var(a)...
Here is my form processor. It doesn't work and I cannot find the problem. My server does not tell which line the problem is on. I have tried: CGI::Carp qw(fatalsToBrowser); but it does not make a difference.
#!/usr/bin/perl
&CheckReferingURL;
&ParseForm;
&GetDate;
&SendSubmission...
About a year ago, Dark Dread closed down his qbasic site, much to the dismay of many qbasic fans. He made three excellent rpgs: Cooey, Cooey 2, Matress Warrior. I checked on what was left of his site, and this month, he said that he may restart the website! check it out:
http://de.tekscode.com/
In my program, I load my graphics from a gif file. But, on my character graphic, I need a mask for when I am moveing it around. How can I do that since it is a .gif file.
Quite a while back, someone asked for a angorism for generateing mazes using qbasic. I said that I hade seen programs that did that. I never found the program I was thinking about, but I found two others they are in a zip file at http://www.geocities.com/wreath2you/mazes.zip. I will leave...
I am sure that I have the right paths to the perl bin and the sendmail, but my form processor does not work. My editor says that the codeing is correct, but the webserver gives me an error. Unfortunately it does not say what line the error is on. Could someone please look over the code and...
Is there a command to rename a file in qbasic?
I know how to use the shell command, and I know how to read from a file a write to another file then delete the old file, but I just wondered if you could just rename a file with qbasic.
I have a varible called $Red_Subtotal. The number can vary anywhere from 1 to in the thousands. How can I check to see if the number has two decimal places, if it does not, it will add .00 to the end of the string. It will not, however, change a number like $24.32. I also want my program to...
Does anyone know of a free website that has php support includeing the sendmail command? I need at least 5mb of space and 1gb transfer a month.
Thanks in advance.
I have a bunch of picture links on my site. Every time someone clicks on one, the browser puts a little gray square box around it. I'm sure you know what I am talking about, if not, click on a picture link on this site. Is their a way to get rid of that? Since my button changes when someone...
I want my program to print to the computer.
I have been using this:
OPEN "LPT1:BIN" FOR OUTPUT AS #1
PRINT #1, thestring$
CLOSE #1
It works fine, except that after the printer gets through printing, the printer will not spit the paper out, and the light on it starts to blink. How can...
I used qbasic mouse routines in my program. As I made changes to the screen, I use inregs.ax = 2 to hide the mouse and then I used inregs.ax = 1 to show the mouse when I was through. It works fine on my windows 98 system, but on windows 2000, it leaves a picture of the mouse where I click It...
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.