|
From: | David DS Barnes |
Subject: | Re: sprintf in gset commands |
Date: | Fri, 24 Nov 2000 11:51:58 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux 2.2.16 i686; en-US; m18) Gecko/20001010 |
Andy Jacobson wrote:
Try: eval(sprintf('gset title Ü"abu : %gÜ"',abu)) The idea is that you create the *whole* command with sprintf, then "eval" it.
good man Andy! David -- David DS Barnes mech eng dept, imperial college | t/f:0207 594 7181/7127 exhibition rd, london, sw7 2bx | http://www.metaphorm.iwarp.com ------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |