Leonard Mada wrote:
could you please explain what this code does? { ScMatValType nType = GetDoubleOrStringFromMatrix( fVal, rString); bIsString = (nType != SC_MATVAL_VALUE); }My thinking is: - it gets content of current table cell - IF content is a numerical value, fVal is set - IF content is string, rString is set and nType is set to SC_MATVAL_VALUE Am I correct with this interpretation? And, what happens IF the cell is empty?
GetDoubleOrStringFromMatrix accesses an intermediate result of matrix type, not directly a cell. It's not of much use outside of formula calculation. If a matrix element is empty, SC_MATVAL_EMPTY is returned.
Niklas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
