octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

new octave


From: Hugo Silva
Subject: new octave
Date: Fri, 3 Mar 2006 11:54:03 +0000

Hi,

I am writing a "new octave" program with many differences from Matlab/Octave syntax.

Matlab uses three dots (...) to tell to continue the command on the next line. I would like to know your opinion about other solution than the three dots (...).

Below is an example of a m file with three options. Tell me which one you like more, or tell me about any better idea.

----------------------------------------------------------------

function res=myFunc(src)

%option 1 (like matlab)

filter= ...

[ ...

-100,200,-100 ...

]

% option 2 (like tcl)

filter= \

[ \

-100,200,-100 \

]

% option 3 (using {})

{

filter=

[

-100,200,-100

]

}

---------------------------------------------------------

Best regards,

Hugo
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]