complex: user-friendly input ?



Hi Folks --

Previously the CNS (complex number string) representation was
rather strictly limited to things of the form "1+2," with no
spaces allowed.  I have written some code to make this much
less strict, so that "  1   +  2i  " is allowed.

This is consistent with the way the spreadsheet handles 
arithmetic, as in expressions such as 
   =0+"  3  "

This can be used to make complex numbers significantly more
readable.

OTOH this may introduced compatibility issues.  I haven't
checked, but I suspect MS XL might be intolerant of spaces
in the CNS representation.



Is there any policy or any wise lore about what to do if/when
there is a conflict between doing the right thing and being XL 
compatible?


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