TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: SEAMUS BROWNE
date: 1998-02-24 15:17:00
subject: DESPERATE: Indexed files

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.