Search found 21 matches

by Theunis
Wed Jan 05, 2011 7:01 am
Forum: QBASIC and QB64 Questions & Answers
Topic: link.exe error message
Replies: 5
Views: 14246

Link errors

I have looked around and would like to suggest the following: 1. on the top of the page- Click - Return to Pete's QBasic site 2. choose - Downloads 3. choose Libraries 4. Download DirectQB v1.61 Use the assembly routines in this download as a reference and check if the headings etc of your ASM codes...
by Theunis
Wed Jan 05, 2011 4:38 am
Forum: QBASIC and QB64 Questions & Answers
Topic: link.exe error message
Replies: 5
Views: 14246

Link

In the QB4.5 manual all I can find is - L1102 Unexpected end-of-file : An invalid format for a library was encountered. Your assembler must generate 16 bit code. The object files must be compatible with the Microsoft language family. If using Fortran, C or Macro assembler you first compile or assemb...
by Theunis
Sun Jan 02, 2011 7:36 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Is there a fault with the LogIn
Replies: 3
Views: 9296

Log In

Thanks Ted.

When I finally got Logged In the post appeared in full.

I am using Firefox . (The latest download).
Windows XP SP2
by Theunis
Sun Jan 02, 2011 3:52 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Is there a fault with the LogIn
Replies: 3
Views: 9296

Is there a fault with the LogIn

I tried at least fifteen times to Log In to post a reply. Although it shows I am logged in when clicking submit I get the login page over and over and over. (Now it keeps saying "Invalid session. Please resubmit this form")
by Theunis
Sun Jan 02, 2011 3:46 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Search for a line in BASIC?
Replies: 3
Views: 9793

You must open the file as BINARY and then use SEEK to jump to a specific place in a file or a record. If you are using a sequential file where the records are of variable length then there is no way to accurately calculate where a record starts. If the records are of fixed length then you merely hav...
by Theunis
Sat Jan 01, 2011 9:37 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Automating file input
Replies: 12
Views: 19375

A bit late. I scratched and scratched until I found something. I turns out I did not use the Dir command. I used LOOK.EXE which is brilliant for this purpose- abolutely no processing is required. I tried it in XP and it still gives 8.3 DOS names. Using /Q switch it gives Drive\Path\Filename (Nothing...
by Theunis
Wed Dec 15, 2010 12:46 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Automating file input
Replies: 12
Views: 19375

@ Ted Now that is much easier. I haven't used the DIR command for ages. The last time I tried it was on WIN98SE, MS has since enhanced the DIR command. I tried /b on the DOS command line and it gave me the long file names. I see doing it from QB4.5 gives the DOS 8.3 names. It should now be pudding f...
by Theunis
Wed Dec 15, 2010 9:26 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Automating file input
Replies: 12
Views: 19375

INPUT Automization

Many years ago I wrote a small program to read the directory and then played the processed music files. Too long ago and too lost that program be. If the files normally have the same extension say *.txt then You could write a program to read the directory of interest, Something like this SHELL "...
by Theunis
Wed Dec 15, 2010 5:10 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Selecting inputs
Replies: 11
Views: 17604

@Ted
I found it under referral but they say you are already on Dropbox. So we have some bad luck.
by Theunis
Wed Dec 15, 2010 4:53 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Selecting inputs
Replies: 11
Views: 17604

@Ted I battled to find how to get the extra space, they ask for an e-mail address plus a password. I couldn't find anything else. Some more help would be appreciated. @simoncito The file ArowMenu.bas can be found here http://dl.dropbox.com/u/16853400/AROWMENU.BAS Please let us know if it is okay and...
by Theunis
Tue Dec 14, 2010 2:05 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Selecting inputs
Replies: 11
Views: 17604

The file including the mouse is 14K. The mouse alone consist of five SUBs and the Frame, FrameBox etc has 4 modules. ie a total of Nine SUBs. I have named it SELECMEN.BAS Without the Mouse the program will naturally be much smaller. It is now almost 9 pm in South Africa, and I should be able to give...
by Theunis
Tue Dec 14, 2010 8:41 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Selecting inputs
Replies: 11
Views: 17604

Arow keys to select menu

Sorry I was blind again and did not read you last post. I see you only require the Arrow keys.
I can extract this from the module.
Please let me know how many items are involved and thereafter give me a day or two to see if I can help you.
by Theunis
Tue Dec 14, 2010 8:22 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Selecting inputs
Replies: 11
Views: 17604

I have quite a large FUNCTION ... END FUNCTION module where I select between 16 items on a MENU. Using a MOUSE, UP/Down Keys+Enter or typing the letters A-P (The 16 choices). Because you say INPUT and not Menu, I am not sure if this would help you. The Mouse was a routine I added to QB.QLB. moving t...
by Theunis
Mon Dec 06, 2010 7:10 am
Forum: QBASIC and QB64 Questions & Answers
Topic: QLB - QuickLibrary
Replies: 7
Views: 15059

Thank Ted and OPPRESSION for the info.
by Theunis
Fri Dec 03, 2010 7:41 am
Forum: QBASIC and QB64 Questions & Answers
Topic: QLB - QuickLibrary
Replies: 7
Views: 15059

QLB library : linking 32 and 16 bit OBJ modules.

Thanks Opression. I have tried FBC but find that I must change too much in my programs for them to run using -lang QB or -lang fblite. -lang FB is virtually a totally different language to learn and does not have the ease and simplicity of QB4.5. As such it is closer to Pascal then BASIC. It also do...
by Theunis
Thu Dec 02, 2010 5:48 am
Forum: QBASIC and QB64 Questions & Answers
Topic: QLB - QuickLibrary
Replies: 7
Views: 15059

QLB - QuickLibrary

The QB manual states that a QLB can be made using an OBJ file written in Microsoft Pascal, C, Fortran, MASM etc.
Does anyone know if a 32 bit OBJ can be linked to a QuickLibrary.
by Theunis
Wed Oct 20, 2010 5:18 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Help required, please.....
Replies: 4
Views: 8737

1.) Did You try a search for Metacommands. The following result showed up: Valerie : PostPosted: Fri Aug 26, 2005 8:12 pm : The BC compiler options and metacommands are here: http://qbcm.hybd.net/issues/1-9/#letters Unfortunately I cannot publish the two pages of the QB4.5 manual here. 2. Button on ...
by Theunis
Mon Oct 18, 2010 8:46 am
Forum: QBASIC and QB64 Questions & Answers
Topic: OUT OF STRING SPACE
Replies: 9
Views: 14975

File size

I did not notice how old this was. So I am deleting my reply. Sorry.

But as Burger said; Post your code (snippet) and errors, without it it is not possible to help you.
by Theunis
Mon Oct 18, 2010 5:56 am
Forum: QBASIC and QB64 Questions & Answers
Topic: PUT creates binary Random-Access file?
Replies: 13
Views: 19219

DOS to CSV

Thanks Ted

I wondered what was going on when it didn't show it as code.
This is my ninth attempt to reply.
I keep being shunted to the Log In screen. It shows I am logged in and then returns to the submit and when I click it goes back to the LogIn and my previous LogIn has vanished.
by Theunis
Mon Oct 18, 2010 3:45 am
Forum: QBASIC and QB64 Questions & Answers
Topic: PUT creates binary Random-Access file?
Replies: 13
Views: 19219

Dos to csv

Oh well.
error no 1. Dim shared Inn$(38)
error no 2. No error. Just to see what comment I would get.
QB4.5 Default is Long Integer. i.e. 2 Gig. So integer division \ is correct.
QB4.5 Data file record numbers. 2,147,483,647
QB4.5 Data file size. Available disk space.