[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spaces and strings
From: |
Paul Laub |
Subject: |
Re: spaces and strings |
Date: |
Fri, 25 Feb 2005 17:32:54 -0800 |
Brian,
Try this
>> mark_as_command("lhooq")
where lhooq.m is an m-file describing a function.
With my Octave 2.1.57 in Cygwin, it appears that
>> lhooq 1 2 3
only takes the first argument into the function.
Paul Laub
On Fri, 25 Feb 2005 20:00:30 -0500, Brian Blais <address@hidden> wrote:
> Hello,
>
> In Matlab, the default behavior for commands without parentheses is to
> pass the argument as a string, like:
>
> help ls
>
> more on
>
> now, this seems to work for some commands in octave, but certainly not
> for user-defined .m files. Is there a reason for this? Is this a
> parser limitation, or something else? I find it a slight inconvenience,
> but I think it can be discouraging for some people coming from Matlab,
> and having their scripts break for this reason.
>
> Brian Blais
>
> --
> -----------------
>
> address@hidden
> http://web.bryant.edu/~bblais
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects: http://www.octave.org/funding.html
> Subscription information: http://www.octave.org/archive.html
> -------------------------------------------------------------
>
>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------