octave-maintainers
[Top][All Lists]
Advanced

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

strcat behavior


From: Rik
Subject: strcat behavior
Date: Mon, 09 Sep 2013 17:59:54 -0700

9/9/13

Does anyone remember why we convert double to char in strcat before doing
the concatenation?  Is this undocumented Matlab behavior?

As an example,

strcat ([97.123], "bc")
  => "abc"

It seems preferable to me to warn when non-string objects are using for
string concatenation.

--Rik


reply via email to

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