[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
- Re: ["Can I ", sprintf ("make this code work?\n")], (continued)
- Re: ["Can I ", sprintf ("make this code work?\n")], William Poetra Yoga Hadisoeseno, 2006/05/29
- Re: ["Can I ", sprintf ("make this code work?\n")], Bill Denney, 2006/05/29
- Re: ["Can I ", sprintf ("make this code work?\n")], William Poetra Yoga Hadisoeseno, 2006/05/29
- Re: ["Can I ", sprintf ("make this code work?\n")], Keith Goodman, 2006/05/29
- Re: ["Can I ", sprintf ("make this code work?\n")], William Poetra Yoga Hadisoeseno, 2006/05/29
- Re: ["Can I ", sprintf ("make this code work?\n")], Bill Denney, 2006/05/29
- Re: ["Can I ", sprintf ("make this code work?\n")], John W. Eaton, 2006/05/30
- Re: ["Can I ", sprintf ("make this code work?\n")], John W. Eaton, 2006/05/30
- Re: ["Can I ", sprintf ("make this code work?\n")], Keith Goodman, 2006/05/29
- Re: ["Can I ", sprintf ("make this code work?\n")], Bill Denney, 2006/05/29
- Re: ["Can I ", sprintf ("make this code work?\n")],
John W. Eaton <=