Search found 450 matches

by moneo
Mon Sep 08, 2008 1:41 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Printer Problems
Replies: 11
Views: 12986

This is basically the same as Ted's idea. When you are writing your program in Qbasic, you normally save it. This creates a file with a .BAS extension. Get into Notepad, "open" this .BAS file, and then use "print" to print it. Of course you have to give Notepad the right path to get to the file. Reg...
by moneo
Sun Aug 24, 2008 6:29 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: No " .exe" !
Replies: 23
Views: 17537

Ralph: I was responding to this post, and to the other people here to posted poor advice in response to it: Everything works fine till I run Make EXE.( I use QB7) I'm there advised that the program does not find BC.EXE (it is in the same folder as QBX)and obliged to give the path (very long to type...
by moneo
Sun Aug 10, 2008 6:39 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: OUT OF STRING SPACE andOUT OF DATA SPACE
Replies: 15
Views: 13539

Re: THANKS

JIMMMMYG wrote: .....
I HAVE A THREE DEMINSIONAL SORT ROUTINE WHICH I HAVE USED FOR THE LAST 20 YEARS.....
What is a three-dimensional sort, and what do you use it for?

Regards..... Moneo
by moneo
Fri Aug 08, 2008 8:43 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: OUT OF STRING SPACE andOUT OF DATA SPACE
Replies: 15
Views: 13539

Re: ??????

burger2227 wrote:What error code is returned for "Out of Data Space"?

Never saw it listed anywhere.
Curiously enough, my Quickbasic manual has error code 7 for both "Out of data space" and "Out of memory."

Regards..... Moneo
by moneo
Fri Aug 08, 2008 1:47 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: OUT OF STRING SPACE andOUT OF DATA SPACE
Replies: 15
Views: 13539

Yes, there is an "Out of data space" error. For both the "Out of data space" and the "Out string space", as well as the "Out of memory" errors, the Quickbasic manual recommends: * Use a smaller file buffer in the OPEN statement's LEN clause. * Use the $DYNAMIC metacommand at the top of your program....
by moneo
Mon Aug 04, 2008 2:08 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Library
Replies: 3
Views: 3422

wot a library means? In Qbasic or Quickbasic, a library is a file which contains packaged code for functions and subs. Each function or sub on the library file is referrenced by it's name. A program can have the code included by a particular function or sub by invoking it and by including the libra...
by moneo
Sun Apr 20, 2008 8:55 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: 71 v 45
Replies: 2
Views: 3528

Lightbulb,

As Burger2227 (Ted) says in his signature:

"Please acknowledge that you at least read a post! Thanks would be nice too once in a while."

So, a reply to my post on your first thread of this topic, would be nice.

Moneo
by moneo
Sun Apr 20, 2008 2:23 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Differences between 4.5 and 7.1
Replies: 6
Views: 7068

Re: Differences between 4.5 and 7.1

I have QBasic 4.5. I was wondering whats different between version 4.5 and 7.1. I've seen it for download online, but I doesn't exactly seem legally ok. Basic 7.x has other names; i.e., PDS and QBX. Do a Google on "Microsoft.Basic+PDS" to see several Microsoft articles and lists of differences. My ...
by moneo
Wed Mar 19, 2008 8:04 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Reversing Integers
Replies: 3
Views: 3754

Perhaps you can also use STR$(number%) to convert a number to a string. You should use LTRIM$ to eliminate the space before a positive number like this: num$ = LTRIM$(STR$(number)) Then use MID$ to rearrange each letter in the number in a counter loop. To convert a string to a number use VAL as alr...
by moneo
Sat Mar 15, 2008 8:48 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Reversing Integers
Replies: 3
Views: 3754

If you already converted the number to a string and reversed the digits, then use the VAL function to convert the new string to a numeric value.

Example:
NEWVALUE = VAL(NEWSTRING$)

Regards..... Moneo
by moneo
Tue Mar 11, 2008 2:12 pm
Forum: Pete's QB Site News
Topic: QB Express #27
Replies: 2
Views: 15943

Sincere thanks to MystikShadows and Lachie Dazdarian

Thanks to Mystic and Lachie for their kind words in the latest QBE about my recent tutorial about Rounding. It's quite a difficult subject, and I myself must admit that it can still be improved. One of the difficulties of rounding is that most programmers have their own proprietary version of a part...
by moneo
Mon Feb 25, 2008 8:22 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: subroutine for adding random generated numbers
Replies: 2
Views: 3630

Re: subroutine for adding random generated numbers

Are there any Qbasic Programmers who can provide me with a subroutine for adding random generated numbers, thanks DECLARE FUNCTION RandInt% (Lower, Upper) RANDOMIZE TIMER 'Put this at the top of your program to seed the RND function. ' =============================== RandInt% ======================...
by moneo
Tue Oct 30, 2007 2:08 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: COBOL Question
Replies: 3
Views: 4272

Re: COBOL Question

In the ENVIRONMENT DIVISION, CONFIGURATION SECTION. SOURCE-COMPUTER, what were the allowable values? Can I say Windows-NT? Mac COBOL is generally a mainframe language. However, there are some special implementations developed about 15 years ago, like Micro Focus COBOL, which were designed to run on...
by moneo
Tue Sep 25, 2007 9:13 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with searching for words (for a data base)
Replies: 20
Views: 15581

ok fixed up code to what you guys told me, also tried moneo's LINE INPUT but still askes me for a #..what should i do? I'm sorry that I mentioned the LINE INPUT before. Like I had said, that will only work if you set up the fields in the record in a fixed format. You don't have the record set up th...
by moneo
Mon Sep 24, 2007 9:00 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with searching for words (for a data base)
Replies: 20
Views: 15581

Lee, You have serious problems with your input and output to/from the file. PRINT #1, "Age:"; age%, "First Name:"; firstname$, "Last Name:"; Lname$ PRINT #1, "Personality:"; per$ PRINT #1, "Pasttime(s):"; past$ PRINT #1, "Comment:"; com$ PROBLEM #1: The way you have the above output, you will create...
by moneo
Sun Sep 23, 2007 9:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Source for QBasic or QuickBasic
Replies: 27
Views: 21715

Anyone happen to know if the source code for QBasic or QuickBasic (interpreter or compiler) has ever been leaked? and if so, where it might be found? Stoves, Even if you had the original source code for QBasic, you would also need the corresponding original version of the C compiler, plus any libra...
by moneo
Sun Sep 23, 2007 9:00 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with searching for words (for a data base)
Replies: 20
Views: 15581

Lee, The biggest problem that I notice quickly is that you prompt the user for the name and store it into the variable called "name$". Then, you read the database file and ALSO read the name field into the same variable called "name$". Change the name of either of these two variable assignments. The...
by moneo
Thu Sep 13, 2007 9:00 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: List of fancy little QuickBasic coding tricks
Replies: 5
Views: 6071

Another excellent source of BASIC programming techniques can be found at Ethan Winer's homepage. Several years ago. Ethan was a respected BASIC expert, and wrote many articles for PC Magazine. He's now into music. Go to: www.EthanWiner.com Select "Programming" from the top menu. Near the bottom of t...
by moneo
Tue Sep 11, 2007 6:37 pm
Forum: News and Announcements
Topic: Palindromes
Replies: 8
Views: 9846

ABOUT THE GOTO. Computer programming experts have spent a tremendous amount of time in the last 35 to 40 years on the subject of using/not using GOTO. Structured programming and top-down programming methodologies were heavily focused on eliminating the use ot the GOTO. The original PASCAL language o...
by moneo
Sat Sep 08, 2007 5:10 pm
Forum: General Discussion
Topic: Check out my new resume / portfolio website
Replies: 7
Views: 7518

Re: Check out my new resume / portfolio website

I just finished a new website for myself...hopefully this will get me a job! http://www.peteberg.net/ Pete, Congratulations on an excellent website and r?sum?. It conveys many of your skills and accomplishments. Hope this enables you to get a really good job out in LA. BTW, is that Buttermilk Falls...