help-octave
[Top][All Lists]
Advanced

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

Re: running Maxima from Octave


From: Geraint Paul Bevan
Subject: Re: running Maxima from Octave
Date: Thu, 12 May 2005 14:43:24 +0100
User-agent: Mozilla Thunderbird 0.7.1 (X11/20040715)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Doug Stewart wrote:

| What is the correct way of getting a % inside of quotes?
| The warning comes from the following line in maximab.m
|
| fprintf(fid,'stringout("Max1.txt", \%%);\n');

Use two % symbols without the escape character \

octave> printf ( "42 %%\n" )
42 %

- --
Geraint Bevan
http://www.mech.gla.ac.uk/~gbevan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkKDXXwACgkQcXV3N50QmNPxawCeKKMtjdEAyRC5SK5/+QdzB1zD
c2sAnAigyaiaTgu4XPHvBLtydy4isbVR
=KFlY
-----END PGP SIGNATURE-----



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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