From owner-bug-octave at bevo dot che dot wisc dot edu Tue Dec 31 09:07:18 1996 Subject: implicit_str_to_num_ok and m-files From: Darrel Hankerson To: bug-octave at bevo dot che dot wisc dot edu Date: Tue, 31 Dec 1996 09:07:10 -0600 (CST) In Octave-1.1.1, it was possible to use a hack of the form function success() implicit_str_to_num_ok=1 '#' + 0 In Octave-2.0, if implicit_str_to_num_ok=0 when success() is called, then octave will refuse to read the file: error: invalid conversion from string to real matrix This requires some workarounds which are fairly simple, but clumsy if we want the scripts to work in both matlab and octave. Tested on Solaris-2.5.1 Sparc and Linux-1.3.12. -- --Darrel Hankerson hankedr at mail dot auburn dot edu