Search found 450 matches

by moneo
Sun Jul 16, 2006 6:51 pm
Forum: General Discussion
Topic: some c code
Replies: 45
Views: 63482

Seb McClouth wrote:It uses the GCC compiler, but I need to run Linux to use it... I'm trying to get one for DOS, if I do, I'll sure give it a try...
thx
If your PC has the capacity, you might consider loading Linux into another partition. You seem to be doing a lot of Linux related stuff anyway.
*****
by moneo
Sun Jul 16, 2006 6:21 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Line Input Limitation?
Replies: 6
Views: 12660

You're right, it looks like you have a file generated by some Unix type program. Here's a piece of the documentation for a conversion program that I wrote having the same problem: PURPOSE: Convert a Unix generated report file to a standard text file with records terminated by a carriage return and l...
by moneo
Sat Jul 15, 2006 6:28 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Line Input Limitation?
Replies: 6
Views: 12660

Re: Line Input Limitation?

Hello, and thanks for this forum! This question concerns QBX 7.1 and the LINE INPUT # statement. Quite simply, is there a size limit on the file QBX is trying to input from? I am trying to access a text file and as soon as the file is opened an ILLEGAL FUNCTION CALL error occurs. I played around wi...
by moneo
Fri Jul 14, 2006 7:31 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 32442

Thanks, but I already knew all of that. What I wan't to know is, after you say open for input, I say input as #1, so that only takes the first file, and since it is in a do/loop I can't make it say anything else. Please help. Kindly expain yourself more clearly and precisely. You said:" after ...
by moneo
Thu Jul 13, 2006 6:27 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 32442

......how do I make an open for append statment and then make an input statment that will take everything from the file that I said to append? An OPEN FOR APPEND is very similar to an OPEN FOR OUTPUT. An OPEN FOR OUTPUT creates a new file. If you write 10 records to it, you will have 10 records on ...
by moneo
Tue Jul 11, 2006 5:47 pm
Forum: Pete's QB Site News
Topic: QB Express #21 Needs Submissions!
Replies: 30
Views: 86355

Sorry, but I just haven't had the time. I left this morning for work at 8:20AM, and didn't get back until moments ago...at 12:40AM. I am in my apartment for less than eight hours a day, and that includes time to sleep, eat, get ready and take care of other business. Some days I manage to get home a...
by moneo
Mon Jul 10, 2006 2:01 pm
Forum: General Discussion
Topic: some c code
Replies: 45
Views: 63482

It's written in C and ASM. I have some manuals but they just go on the things it does, not how it was written and why that way. I just dig up the most important things and see what I can translate over. grtz Suggestion: try to get a hold of the compiler which you think corresponds to the C code tha...
by moneo
Sun Jul 09, 2006 4:05 pm
Forum: General Discussion
Topic: some c code
Replies: 45
Views: 63482

Reading this C manual again opens up old wounds. I strongly suggest you get a copy of the C manual for the C code that you're working with..... Moneo, your words of wisdom enlighten me (they truly do). On your suggestions of getting a copy of the C manual for the C code... I'm actually translating ...
by moneo
Fri Jul 07, 2006 8:46 pm
Forum: General Discussion
Topic: some c code
Replies: 45
Views: 63482

......I have a tiny more question in C, does & and && mean the same or is there a diffrence? If so, what are there equivalents in Qbasic? ... More examples of cryptic crap in C. BEWARE! The & and && operators mean different things in different versions/dialects of C. I have ...
by moneo
Fri Jul 07, 2006 7:18 pm
Forum: General Discussion
Topic: some c code
Replies: 45
Views: 63482

...... Why can't QB count till 999999? That's pretty annoying while in a for-next... or do I need to address i AS LONG? The FOR can count up to the maximum that the specified variable can handle. Well I chose to DIM the variable as LONG. I always have an DEFINT A-Z at the top of my programs, so an ...
by moneo
Thu Jul 06, 2006 7:39 pm
Forum: General Discussion
Topic: some c code
Replies: 45
Views: 63482

And other question: for (i = 0 ; i < 1000000 ; i++) /* may take up to 1 second... */ if (CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP) break; That is what I hate about C. It's so cryptic. The code doesn't "read" like Basic. Anyway, I dug out my C manual and looked up the FOR statement. for ( ...
by moneo
Thu Jul 06, 2006 7:02 pm
Forum: Pete's QB Site News
Topic: QBExpress Related
Replies: 25
Views: 72962

I'm living in Sherman Oaks. I know it's not the *hottest* place in the world, but I'm in a tight closet with no ventilation, and my roommates don't want to turn on the A/C so that we can save money on the electric bill. You can see how it would get pretty hot. But I'm not complaining...it's better ...
by moneo
Wed Jul 05, 2006 7:02 pm
Forum: Pete's QB Site News
Topic: QBExpress Related
Replies: 25
Views: 72962

Allright, QB Express #21: Back in production. I've moved into the walk-in closet at my friends' place....it's small, but pretty comfortable. It wouldn't be too bad if it wasn't so ungodly hot. I'm living in the San Fernando Valley, just north of Hollywood, and it's just about the most godawful hot ...
by moneo
Mon Jul 03, 2006 5:23 pm
Forum: General Discussion
Topic: Looking for a little something to program
Replies: 19
Views: 35659

Re: Looking for a little something to program

I am NOT good at managing large programs, but I want a small program that I can add on to. I need an idea! Anything, stupid and useless or dreadfully useful. A game... anything. I need *something* to do this summer! I have an idea for some small stuff you could write --- handy functions or subs. Yo...
by moneo
Mon Jul 03, 2006 4:53 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Nested function definition
Replies: 5
Views: 6414

Seb, great, glad you found it.

Actually my manual is for QuickBasic 4.0. I run 4.5 and use this manual because I found it more complete than the 4.5 manual. There is probably a lot of newer stuff covered by PDS which, of course, wouldn't be in this manual.

Regards..... Moneo
*****
by moneo
Mon Jul 03, 2006 2:39 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Nested function definition
Replies: 5
Views: 6414

Re: Nested function definition

While compiling the core, I'm getting a ' Nested function definition' error. I have no clue why....... I had never heard of "nested function definition", but found that it is valid in other languages. Perhaps the Function or SUB immediately before the Sub in question, did not terminate co...
by moneo
Sat Jul 01, 2006 8:31 pm
Forum: Pete's QB Site News
Topic: QBExpress Related
Replies: 25
Views: 72962

Pete, I think you're doing a great job with QBE. There are those of us who sincerely appreciate all your efforts and contributions to the editing of the magazine, and we are not concerned with a few days or weeks delay. "Good things come to those who wait". I completely agree with moneo T...
by moneo
Thu Jun 29, 2006 8:11 pm
Forum: Pete's QB Site News
Topic: QBExpress Related
Replies: 25
Views: 72962

Pete, I think you're doing a great job with QBE. There are those of us who sincerely appreciate all your efforts and contributions to the editing of the magazine, and we are not concerned with a few days or weeks delay. "Good things come to those who wait". Best regards, Edward F. Moneo **...
by moneo
Fri Jun 16, 2006 7:48 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QuickBASIC 4.5?
Replies: 7
Views: 20270

What is the legality of downloading QB 4.5? Has it been placed in the public domain? If you download it from some site, or a friend gives you a copy, you have an ILLEGAL COPY. If you only use it for your own use, then nobody will bother you about it. However, if you do anything commercial with it, ...
by moneo
Thu Jun 15, 2006 9:27 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Compilation Problem
Replies: 4
Views: 6016

...... But how am I supposed to notice the user he didn't use a valid command without that o_o ? (If I don't put it, it only answer to the four choices) IF action$ = "open left door" THEN GOTO 900 IF action$ = "open right door" THEN GOTO 40 IF action$ = "open door front of ...