TIP: Click on subject to list as thread! ANSI
echo: z3_pascal
to: Daniel O`Shea
from: David Drummond
date: 1996-04-23 06:58:22
subject: Deleting Files? 410

Daniel, at 12:01 on Apr 19 1996, you wrote ...

ED>>>> SwapVectors;
ED>>>> Exec('c:\command.com', '/c del filename.ext');
ED>>>> SwapVectors;

DO>>> Which version of Pascal do you need to be able to use this 
DO>>> command?! I'm using Turbo Pascal v5.5 and it doesn't seem 
DO>>> to support it :( Might be time to upgrade...

DD>> It most certainly does work in v5.5 - you must have some 
DD>> other problem.

DO> Hmmm... :-\ Well, when I try to compile with the above 
DO> quoted code, all I get is `Error 3: Unknown identifier' :( 
DO> Any ideas? Am I missing some files or something?!

Where is the cursor located when this error appears?  It should be sitting
under the word the compiler doesn't recognise.

You have failed to declare something at the top of your program . . .

Have you included USES DOS in your declarations?

Methinks you need to browse the section on units in your TP5.5 manual.

David
@EOT:

--- Msgedsq/2 3.10
* Origin: JabberWOCky CBCS +61 7 3868 1597 (3:640/305)
SEEN-BY: 633/267 270
@PATH: 640/305 820 711/409 808 50/99 635/544 727 633/267

SOURCE: echomail via fidonet.ozzmosis.com

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