Post Reply 
BUG[?]: ΣLIST, ΠLIST with verrrry short lists
12-24-2015, 07:57 PM
Post: #7
RE: BUG[?]: ΣLIST, ΠLIST with verrrry short lists
One can use invalid dimension, but the way I was thinking, anyone calling Summation expects a number - or if that cannot be produced, whether because of an index issue or an overflow, a NaN.

(I have never summed rather than concatenated strings, so I am presuming a numeric result...so that might be inappropriate for non-numeric summations).

Of course, unless one can detect the error and continue, it makes little practical difference - and makes simply returning 0 seem preferable.

One question: if one do do a summation of strings, can one also do a product of strings?!
Merry Xmas all.

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: BUG[?]: ΣLIST, ΠLIST with verrrry short lists - StephenG1CMZ - 12-24-2015 07:57 PM



User(s) browsing this thread: 2 Guest(s)