TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: TIM HUTZLER
date: 1997-02-03 12:19:00
subject: Re: Get Current Director

-=>Quoting Charles Godard to Lawrence Gordon <=-
LG>Why go through all that? PowerBASIC has a built-in function, CURDIR$, that
??>returns the current directory:
CG>My mistake Lawrence, and my apologies to all.  Those messages were
CG>marked for the Quickbasic conference, and due to a mistake got sent
CG>here.
I have used this function once and discovered that it really hangs up
the system when accessing a floppy drive. Apparently it will read the
drive *disk* every time it is called. So, use sparingly.
The easy fix is to save the path to a string, and update it with each
CHDIR call. Works fine that way.
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 916-893-8079 * (1:119/88)

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™.