mdavis@hp-sdd.UUCP.UUCP (04/26/87)
------ Forwarded Message ------
From: Michael Alan Wertheim <crash!andrew.cmu.EDU!nosc!mw22#>
Subject: Need help with MLI
I'm having an awful time trying to get the MLI's OPEN command to work. When
I give it a pathname that begins with a "/" and a prefix, it works fine, but
when I give it just a filename, hoping it will tack on the prefix itself, it
returns a $40 -- "Pathname has invalid syntax".
Any help or comments would be appreciated.
Michael Wertheim
Carnegie Mellon University
Pittsburgh, PA
Arpa: mw22@andrew.cmu.edu
Bitnet: mw22@cmuccvma
UUCP: ...!{seismo, ucbvax, harvard}!andrew.cmu.edu!mw22#
------------
The internal ProDOS prefix must be set before using any MLI file-related
commands with pathnames not fully qualified ("that don't start with a /").
This is BASIC.SYSTEM's fault. It purposefully nullfies the ProDOS prefix when
it boots up. Here's an easy way to solve the problem without adding one byte
to your assembly code:
10 PRINT CHR$(4)"PREFIX"
20 INPUT PREFIX$
30 PRINT CHR$(4)"PREFIX"PREFIX$
--Morgan
UUCP: [ ihnp4 akgua hplabs!hp-sdd sdcsvax nosc ] !crash!pnet01!pro-sol!mdavis
ARPA: crash!pnet01!pro-sol!mdavis@nosc
INET: mdavis@pro-sol.CTS.COM