Search found 15 matches
- Mon Aug 17, 2009 10:51 pm
- Forum: QBasic / QuickBasic related
- Topic: Modulus
- Replies: 2
- Views: 1704
Modulus
I am trying to do a simple math using Modulus on large double-precision numbers and I'm encountering an error. I'm trying to convert an IP address to an IP number and I'm getting an error on the last part. It works fine on paper but not in code. IP_Address To IP_Number w = 202 x = 186 y = 13 z = 4 I...
- Thu Jul 30, 2009 1:43 am
- Forum: QBasic / QuickBasic related
- Topic: 4.5 vs 7.1
- Replies: 6
- Views: 4582
I've only been able to find one site that had the PDS 7.1 manual. The only problem is that my hard drive crashed and I lost all my programming links. The only other option I can see is to purchase PDS 7.1 to obtain the two thick 3 ring binder manuals which can still run you a hefty price. If I find ...
- Tue Jun 30, 2009 5:38 pm
- Forum: QBasic / QuickBasic related
- Topic: 4.5 vs 7.1
- Replies: 6
- Views: 4582
PDS 7.1 was originally developed by MS for the commercial sector so it has all the features of QB 4.5 and more. If you have to pick...stay with PDS 7.1. Some of the benefits of PDS 7.1 over QB 4.5: - supports both NEAR & FAR strings (QB45 only supports NEAR) - built-in ISAM database engine but does ...
- Wed Jun 17, 2009 7:06 pm
- Forum: QBasic / QuickBasic related
- Topic: Installing qb45
- Replies: 9
- Views: 4829
QB45 is best used in a DOS Prompt. Avoid creating a shortcut link to the QB.EXE cause its just a headache. Besides if you use a shortcut link to run QB.EXE, when the program terminates it will have a tendency to return back to Windows. If you decide to use it in a DOS Prompt, remember to set the pat...
- Wed Jun 17, 2009 12:03 am
- Forum: QBasic / QuickBasic related
- Topic: String Descriptor
- Replies: 0
- Views: 1789
String Descriptor
This is a follow up to my previous post which I will simplify since no one has yet been able to answer that post. Using ONLY the PEEK function, how would I be able to extract the information of the array descriptor and print each elements. This procedure should be able to print the elements of the a...
- Wed Jan 14, 2009 10:27 pm
- Forum: QBasic / QuickBasic related
- Topic: QuickBasic 4.5 to .net conversion
- Replies: 2
- Views: 2923
Most numerical algorithms can easily be ported to another language, from Basic to Pascal to Fortran to C or to COBOL. The latter uses english words for its equations but you can easily convert it. The problem begins when one language does not support the syntax or reserved words of the other languag...
- Wed Jan 14, 2009 10:16 pm
- Forum: QBasic / QuickBasic related
- Topic: HTML Parser
- Replies: 0
- Views: 1840
HTML Parser
I'm writing a conversion program to convert HTML to RTF. I'm looking for an HTML parser so that I can replace all HTML tags with RTF internal codes. I have written several sample program but it's very slow when processing 30,000+ lines of HTML file. I used two different methods. First, I loaded all ...
- Wed Jan 14, 2009 9:58 pm
- Forum: QBasic / QuickBasic related
- Topic: Passing Array Pointer
- Replies: 0
- Views: 2040
Passing Array Pointer
I'm writing a program to process a form file created using a form designer. In one form I can have one or more listboxes (i.e. note field or listbox for inventory). Each field is identified by a unique number (1=string, 2=listbox, 3=number, etc). When I inialize the program, I assign the segment/add...
- Wed Oct 15, 2008 5:49 am
- Forum: QBasic / QuickBasic related
- Topic: HTML Colors
- Replies: 0
- Views: 1790
HTML Colors
How do I convert an HTML color (i.e. #223BB5) to QuickBASIC on SCREEN 0?
I've tried using the PALETTE command but QB PALETTE command is only in the range of (0-63) whereas HTML is (0-255).
Does anybody have a formula to convert an HTML RGB to a QuickBASIC RGB color?
I've tried using the PALETTE command but QB PALETTE command is only in the range of (0-63) whereas HTML is (0-255).
Does anybody have a formula to convert an HTML RGB to a QuickBASIC RGB color?
- Wed Oct 15, 2008 5:20 am
- Forum: QBasic / QuickBasic related
- Topic: PRINT USING help please!!!!
- Replies: 1
- Views: 1663
Print Using
The easiest way of using Print Using is to assign your layout to a string variable and re-use that over and over again. This sample below aligns the heading to the specified columns you provided and the Detail$ variable containts the numeric layout. This is the easy way, no computing of the column p...
- Thu Mar 20, 2008 3:12 pm
- Forum: QBasic / QuickBasic related
- Topic: Repeating Random Numbers
- Replies: 2
- Views: 1654
Repeating Random Numbers
Works perfectly. Exactly what I needed.
THANK YOU
THANK YOU
- Wed Mar 19, 2008 6:31 pm
- Forum: QBasic / QuickBasic related
- Topic: Repeating Random Numbers
- Replies: 2
- Views: 1654
Repeating Random Numbers
I need help with Basic's pseudo-random numbers. I'm trying to generate a sequence of random numbers from a seed. For example, if InitSeed = 745, I would like to be able to generate the same sequence of number every cycle of the loop. InitSeed% = 745 FOR i% = 1 TO 3 FOR j% = 1 TO 5 RANDOMIZE InitSeed...
- Mon Jan 21, 2008 5:54 pm
- Forum: QBasic / QuickBasic related
- Topic: QBTree Data Engine
- Replies: 6
- Views: 2207
QBTree by Cornel Huth
Disregard previous post.
After searching my archive I have found the files for QBTree including the documentations. Let me know where you want them sent.
After searching my archive I have found the files for QBTree including the documentations. Let me know where you want them sent.
- Mon Jan 21, 2008 1:21 am
- Forum: QBasic / QuickBasic related
- Topic: The Obsolescence of QuickBasic
- Replies: 9
- Views: 5010
I feel your pain. I have programmed all versions of Basic and have stayed with PDS 7.1 ever since I started using it at work. But I have come to the point that PDS 7.1 can no longer give me what I want. I wanted a compiler that has the flexibility of C and the simplicity of QuickBasic. Alas I have f...
- Mon Jan 21, 2008 12:40 am
- Forum: QBasic / QuickBasic related
- Topic: QBTree Data Engine
- Replies: 6
- Views: 2207
QBTree by Cornel Huth
I've never heard of QBTree by Cornel Huth but I have heard of Bullet database engine by Cornel Huth. I have used it in the past for my company and it was also distributed as a shareware. The shareware includes all of the libraries including the including an extensive programmer's reference guide of ...