help-octave
[Top][All Lists]
Advanced

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

This cant be right! Was String Manipulations


From: John Utz
Subject: This cant be right! Was String Manipulations
Date: Fri, 1 Dec 1995 16:32:26 -0800 (PST)

HI again this is just too weird

function fig ( functionname)

% create the name of the file.
prestring = strcat ( functionname, ".fig" )
prefilenamestr = strcat ( """", prestring )
filenamestr = strcat ( prefilenamestr, """" ) 

OUTPUT: is this how this is supposed to work?

octave:16> fig ("foo")
prestring = foo.fig
prefilenamestr = "foo.fig
filenamestr = "foo.fig"
octave:17>  

*******************************************************************************
 John Utz       address@hidden
        idiocy is the impulse function in the convolution of life



reply via email to

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