problems about "eval"
Peter1 Mueller
peter1.mueller at nxp.com
Tue Aug 19 06:20:18 CDT 2008
Hi All,
attached I send you e difference between Octave and MAtlab R12P1.
Octave, win32:
octave-3.0.1.exe:8> ~eval('defines.PHDRS_AEROFPGA_H_ ', '0')
ans = 0
error: evaluating prefix operator `!' near line 8, column 1
octave-3.0.1.exe:8>
Matlab:
>> ~eval('defines.PHDRS_AEROFPGA_H_ ', '0')
ans =
1
>>
in addition:
>> defines.PHDRS_AEROFPGA_H_
??? Undefined variable 'defines'.
>>
so defines.PHDRS_AEROFPGA_H_ is undefined and therefore 0 is returned.
Mit freundlichen Grüßen / Met vriendelijke groeten / With kind regards,
Peter Müller
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080819/29940551/attachment.html
More information about the Bug-octave
mailing list