newsgroups-index (beta)

Current group: dbase.bug-reports

try..endtry with MD

try..endtry with MD  
Ruediger Kosch
 Re: try..endtry with MD  
Bruce Beacham
From:Ruediger Kosch
Subject:try..endtry with MD
Date:Sat, 25 Dec 2004 01:01:44 -0500
please try the following code (the folder 'Test' exist!):

newdir = 'Test'
try
md &newdir
catch (exeption e)
endry

and you get the message: "no catch for exeption-class..."

only to check if a folder exists or not is:

try
cd &newdir
catch (exeption e)
if e.code <> 0
md &newdir
endif
endtry

merry christmas a happy new year

rüdiger


From:Bruce Beacham
Subject:Re: try..endtry with MD
Date:Mon, 27 Dec 2004 17:53:08 +0000
> catch (exeption e)

Is this a typo?

catch (exception e)


Bruce Beacham
   

Copyright © 2006 newsgroups-index   -   All rights reserved   -   Impressum