[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: DETECTING FORMS-MODE IN AN OPEN FILE (was it opend by a caf ?)



Reply to note from "Pierre d'Or jcvanhaeften@xxxxxxxx"
 Tue, 6 Sep 2005 22:31:54 +0200

> I AM SEARCHING FOR AN ELEGANT WAY TO DETECT IF OPEN FILE IS IN
> FORMS-MODE
> ...
> 6. so my solution to every file, whatever mode and whatever
> containing is:
>  1. store the file
>  2. call the file (=normal-mode)
>  this is working well

I can't think of a better solution. In Xy4 and later, you can test
for forms mode with  (1=yes, 0=no). But not in Xy3.

--
Carl Distefano
cld@xxxxxxxx