On 17/04/2010, Søren Hauberg <[email protected]> wrote:
> lør, 17 04 2010 kl. 00:16 -0400, skrev Carnë Draug:
>> On 16/04/2010, Søren Hauberg <[email protected]> wrote:
>> >> Altough I can't avoid getting variables highlighted as functions if
>> >> they have the same name of a function, if they are structure fields,
>> >> they shouldn't be highlighted as such. Is it possible in any way, for
>> >> a function to be preceded by a dot?
>> >
>> > No. Function names cannot start with a dot.
>>
>> I didn't meant the name start by a dot. I mean to somehow have a dot
>> before it. For example, while a function name can't start by semicolon
>> it can have one right before or after it's name. Or an apostrophe, to
>> transpose the output of whatever function that may be called without
>> arguments. Can you foresee the possibility to use the dot?
>
> It seems Matlab has some support for namespaces. It could very well be
> that dots are used to access the namespace, i.e.
>
>   mynamespace.myfunction ()
>
> I do, however, not know this as I have no experience with namespaces in
> Matlab (I haven't used Matlab for a decade I think, so I'm really no
> expert).
>
> Søren

I haven't ever used Matlab so I'm even less of an expert. That said,
this would be syntax highlight for octave not matlab. Do you see
octave adding support for such thing in the future? I.e. should I
correct the current behavior?

Carnẽ

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to