[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] Re: ModeWhen syntax
In message <5712573586Lists@xxxxxxxxxxx>
"Richard Torrens (lists)" <Lists@xxxxxxxxxxx> wrote:
> In article <ed3e501257.fjgraute@xxxxxxxxx>,
> Fred Graute <fjgraute@xxxxxxxxx> wrote:
> > > The example ModeWhen, and all the default mode files seem to use a
> > > semicolon.
> > >
> > > Which is correct?
>
> > Both are correct, you can use a comma or a semicolon.
>
> Fred
> This seems in slight conflict with your comment Wed 14 Mar 18 13:55
> thread: "syntax of a Modewhen file" when you said
> "A '>' rule consists of 3 parts: filetype, path ; match pattern"
>
> Jim Nagel solved his problem by using ; rather than ,
> So are there circumstance where both are not correct?
Ah, thanks for the reminder.
Yes, there is one situation where there is a difference; if you place
the , or ; immediately after the path (ie no space between them). In
that case only ; works.
The StrongHelp manual shows that the separators , ; should be surrounded
by spaces. Leaving out the space after the filetypes isn't a problem as
neither are valid hex digits. After the path however I would advise to
always use a space.
Cheers,
Fred.
--
StrongED Developer
http://www.stronged.iconbar.com/
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxx
List archives and instructions at
http://stronged.torrens.org/index.html