From: "Seamus BROWNE"
Subject: DESPERATE: Indexed files in QBasic ??
Hi,
I have written a few progs with Qbasic.
Some of them need to lookup data and find an equivalence:
say , in a table with two fields Refno and Title,
lookup the Refno "12345" and retrieve Title "War and Peace".
I do this using DATA and READ to build a DIM table then
run along down the DIM table till I find the Refno an dthen grab the Title.
This may be a slow way of doing things but I can find any other way.
So ...
Q1. Is there no way to have an Indexed file in Qbasic ?
Q2. Is there any other Basic that woul do the job OK without me having to
re-write my progs?
Thanks.
Pls reply by e-mail.
Seamus BROWNE at Partage
*** QwkNews (tm) v2.1
* [TN71] Internet Newsgroup: alt.lang.powerbasic
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|