Search found 450 matches

by moneo
Wed Oct 19, 2005 7:22 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: big stupid newbie questions
Replies: 34
Views: 47699

..... on my desktop i now have freebasic, qbasic 1.1, quickbasic 7.1 and qbasic 4.5. To be honest i'm more confused than ever..... im getting back into it because i just enjoy programming and want to make progs for my own use (that satisfaction of completing your own program)..... The general feeli...
by moneo
Wed Oct 19, 2005 6:44 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: qbasic
Replies: 6
Views: 8386

This is what the QB Online Help says about INKEY$. The INKEY$ function returns a one- or two-byte string containing a character read from the standard input device. A null string is returned if no character is waiting there. A one-character string contains the actual character read from the keyboard...
by moneo
Wed Oct 19, 2005 2:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: check for file existence and then condition statement
Replies: 30
Views: 44444

In the ugly and powerless batch scripting language of DOS and W9x, zero length files were used by the more 1337 programmers to overcome the limitations of the language. Zero length files made good flags. And I remember a way to separe a file name from its extension using a dummy file and REN... I m...
by moneo
Wed Oct 19, 2005 1:43 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help ??? Error in loading file (qb.lib ) - Invalid format
Replies: 12
Views: 12911

..... So, thanks, I'll look into this QuickPak stuff next (or see about not using QPRINT, although I'm guessing there are other sub routines in the code that they've thrown into that library too) :roll: . Thanks for the crumbs to help me down the next path! [/color] Hoven, Another way to determine ...
by moneo
Tue Oct 18, 2005 7:36 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: check for file existence and then condition statement
Replies: 30
Views: 44444

OPEN "C:\myfile.txt" FOR APPEND AS #1 IF NOT LOF(1) = 0 THEN PRINT #1, "HI this is a LINE lol IM 1337! not" CLOSE #1 OPEN "C:\windows\mespecial.txt" FOR APPEND AS #1 IF NOT LOF(1) = 0 THEN PRINT #1, "hEhEhEhE! im specialer than that 1337 guy!" untested, but s...
by moneo
Sun Oct 16, 2005 6:39 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: check for file existence and then condition statement
Replies: 30
Views: 44444

Nathan1993 wrote:no space? Actually, the file name and the recognition in the file system takes up space... so it DOES take up space, just very little...
Read my lips: "no space in the user's directory."
*****
by moneo
Sun Oct 16, 2005 1:12 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: check for file existence and then condition statement
Replies: 30
Views: 44444

Nek, it removes 0 lenght files, bad practice.. use DIR$() instead.. 1. 0-length files have zero purpose in a user program, and are otherwise pointless. Anyone who uses 0-length files is a moron and anyone who feels a need to retain 0-length files is an equal moron. 2. .... Nek, You're entitled to y...
by moneo
Sat Oct 15, 2005 12:33 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: check for file existence and then condition statement
Replies: 30
Views: 44444

SebMcClouth wrote:Yes sounds interesting...
grtz
Seb, If you're interested in the !BAT program, let me know where I can send the executable which is 65k.
*****
by moneo
Fri Oct 14, 2005 8:19 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help ??? Error in loading file (qb.lib ) - Invalid format
Replies: 12
Views: 12911

Hi Hoven, and welcome. I don't think there's anything wrong with your QB.LIB. The QPRINT Sub that you're missing is part of Crescent Software's QuickPak Professional Library. QPRINT is not a function or statement contained in QBasic or QuickBasic. I just looked in my QuickPak manual. Your have the f...
by moneo
Fri Oct 14, 2005 2:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: check for file existence and then condition statement
Replies: 30
Views: 44444

Damn, forgot to log in before above post. :oops:
*****
by moneo
Thu Oct 13, 2005 8:19 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: check for file existence and then condition statement
Replies: 30
Views: 44444

Re: check for file existence and then condition statement

Cryptid123 wrote:ok this is wat i want to do
if exist "C:\readme.txt" goto condition
condition:
SHell "Del/y C:\readme.txt"
....
Before using any of the posted suggestions, you have to decide whether or not you want to delete zero-length-files which show up as an existing file.
*****
by moneo
Tue Oct 11, 2005 2:11 pm
Forum: General Discussion
Topic: Are all the Y2K bugs dead, buried and forgotten?
Replies: 38
Views: 51193

Hey guys,
Some of you might have missed the link in Nek's above post under the word "Source." Take a look at that site for more interesting and alarming Y2K-type future problems.
*****
by moneo
Sun Oct 09, 2005 9:02 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Old Timestamp
Replies: 5
Views: 6574

Re: Old Timestamp

Hi, i found an old QBasic 3 program of which i have no source. I tried to decode the data-files, but got some problems: How do I translate an old "timestamp"? Data in File (Hex) -> Displayed in Program as A0 94 59 94 -> 10.12.89 E0 95 59 94 -> 30.12.89 60 89 59 94 -> 30.10.89 60 90 43 94 ...
by moneo
Sat Oct 08, 2005 7:47 pm
Forum: General Discussion
Topic: Are all the Y2K bugs dead, buried and forgotten?
Replies: 38
Views: 51193

Great, Nek! :D That's exactly the kind of stuff I was asking for. I knew it was out there, but not exactly where.

Thanks.

Anybody else know of more Y2K holes out there?
*****
by moneo
Thu Oct 06, 2005 7:44 pm
Forum: General Discussion
Topic: Are all the Y2K bugs dead, buried and forgotten?
Replies: 38
Views: 51193

The real Y2K issue isn't quite solved no...there is a definite problem with the year 2034. What's special about the year 2034? The only thing that I can think of is one of those screwball "date algorithms" that converts 2 digit years to 4 digit years. Maybe one of these fails when you get...
by moneo
Thu Oct 06, 2005 2:18 pm
Forum: General Discussion
Topic: Are all the Y2K bugs dead, buried and forgotten?
Replies: 38
Views: 51193

Thanks for your participation. It looks like most of you (Ratt, Matt, Mystik) seem to equate the Y2K problem to date handling by the operating system on PC's. This was a problem, but easily solved by upgrading to a Y2K-compliant version of the operating system. Expensive perhaps for companies that h...
by moneo
Wed Oct 05, 2005 11:31 pm
Forum: General Discussion
Topic: Are all the Y2K bugs dead, buried and forgotten?
Replies: 38
Views: 51193

I thought Y2K was a fake? I mean I set the clock on a Tandy MS dos ages ago to year 3000, and it ran fine.... :?: And what was going to hang it up? it think it was in the stone age or something: Year 00?? Oh s***, I'm not suppose to be running,. I'm way before my time... :lol: Yeah I'm joking half ...
by moneo
Wed Oct 05, 2005 8:29 pm
Forum: General Discussion
Topic: Are all the Y2K bugs dead, buried and forgotten?
Replies: 38
Views: 51193

OOOPs. Forgot to log-in before above post. :oops:
*****
by moneo
Wed Oct 05, 2005 8:11 pm
Forum: General Discussion
Topic: Are all the Y2K bugs dead, buried and forgotten?
Replies: 38
Views: 51193

Are all the Y2K bugs dead, buried and forgotten?

For those of you that remember the Y2K (Year 2000) problems found in program code just before the year 2000, please give me your opinion as to the state of these bugs today and for the near future.

Did we kill the monster, or did it leave some eggs hatching, like in monster movies.

Thanks.
*****
by moneo
Sun Oct 02, 2005 6:55 pm
Forum: General Discussion
Topic: Poll of the month: Everybody Vote!
Replies: 3
Views: 6939

Sorry, Pete, but I must disqualify myself from voting. There is no option on the list for me, because I never play games. If I voted "other" it would mean that I played some other FB game. The last game I played was DIGGER back in 1990. Machines faster than 10 mhz ruined the game. Haven't ...