help-octave
[Top][All Lists]
Advanced

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

Re: ["Can I ", sprintf ("make this code work?\n")]


From: John W. Eaton
Subject: Re: ["Can I ", sprintf ("make this code work?\n")]
Date: Tue, 30 May 2006 00:31:10 -0400

On 29-May-2006, Bill Denney wrote:

| The problem is that it doesn't know if sprintf is a function or a variable 
| here, and as such, it can't be sure if the grouping after it is just a 
| grouping or if it is the argument to the function.  Removing the space 
| after sprintf removes the doubt.

Yes, sort of.  It's not that it removes the ambiguity, its just that
this is the way Matlab works.

The real problem is that whitespace is significant in this context.

jwe


reply via email to

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