Hi everybody. I've been working on a little program and im trying to make it so that i can get rid of some unneeded junk by using the KILL command which works...
JAGSOFT5@...
Mar 6, 2003 9:27 pm
2003
You can modify this code. DIM filename AS STRING CLS SHELL "dir /b /a-d > dir.txt" OPEN "dir.txt" FOR INPUT AS #1 DO WHILE NOT EOF(1) LINE INPUT #1, filename '...
... sounds complicated. how about: dir$ = "c:\junk\" SHELL "dir /b " + dir$ + "*.* > files.txt" OPEN "files.txt" FOR INPUT AS #1 numfiles = 0 WHILE NOT EOF(1)...
thanks guys, i think i've got it working now. only problem is it will only delete files without long filenames. : \ oh well this should work just fine anyways...
JAGSOFT5@...
Mar 7, 2003 12:45 am
2006
How do I get a number I input say .65 cents and do a formula in qbasic that will tell me how many quarters and how many dimes and how many nickels and how many...
I dont feel like doing the formula work, but you would get the total number of change. If it was 79 cents back, you would subtract 75, something like this: if...
<<<(maryrelaxing)How do I get a number I input say .65 cents and do a formula in qbasic > that will tell me how many quarters and how many dimes and how many...
This is all I can come up with.... (Forgive my coding as well, it's been awhile since I used QBASIC) SUB change (total) quarters = INT(total / 25) total =...
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the qbasic group. File : /5-11-6.BAS ...
qbasic@yahoogroups.com
Mar 11, 2003 4:41 am
2011
Can someone tell me what's wrong with my program. I finally got it to work but when I type a number over 100 i get an error which is what i want and i type in...
i'm not sure exactly what the problem with your program is, but you should also note that its calculations are still not correct. enter in 43 cents and you...
JAGSOFT5@...
Mar 12, 2003 12:50 am
2014
Hi Everyone, Just found your group on yahoogroups and was hoping I get get a few pointers from the group. <sigh> I need some help badly. :-( I am trying to...
What version of Q/QuickBasic is it? The only one you actually have to "install" is 7.1PDS, the other ones you just copy to the disk and run (IIRC). Jordan C. ...
Jordan C
mdiegoblake@...
Mar 12, 2003 3:11 pm
2016
... To be honest, I couldn't make heads or tails of it. I guess your pragramming style is a lot different than mine. Funny that there can be different "styles"...
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the qbasic group. File : /new5-11-6.BAS ...
qbasic@yahoogroups.com
Mar 13, 2003 4:00 am
2018
Check out the new file I put up. It works a little better but I still have the same problem...
... Ok Mary, I figured out the problem with my code and fixed it. I just had to change an IF-THEN to an IF-THEN/END IF. Check it out...flawless this time I...
What about mine? My code worked...I tested with almost every amount of
change I could find.... ... From: qbasic@yahoogroups.com Date: Wednesday, March 12, 2003...
<<< (Mary)that works except when I enter an amount over 100 it goes blank >>> If you used any decimals then yes, it will go blank. I have revised the code...
That works good except I need to add a code to give me a beepif the amount entered is more than 1 dollar. ... goes blank >>> ... revised the code again so that...
<<< (Mary)That works good except I need to add a code to give me a beepif the amount entered is more than 1 dollar. >>> IF money > 100 then BEEP (use this line...
On Thu, 13 Mar 2003 18:11:41 -0800 (PST), Mary C <maryrelaxing@...> ... I stole your code and nuked it, hope that's ok :) '-=-=-=-=-=-=-=-=-=-= CUT HERE...
I know its late .. but here is my code... Qmars =================================== REM Change maker REM REM program to evaluate the amount of change REM...
<<< (Michael)I stole your code and nuked it, hope that's ok :) >>> <<< (Qmars)I know its late .. but here is my code... >>> Brilliant! Both of your codes were...