04-17-2010, 11:06 PM
programandala.net Wrote:One of the tries caused both errors at the same time (string into value and vice versa!):
Code:let temp = "Son las "+stringIf(true,":")
The following calculation causes both errors at the same time too:
Code:
dim grade(1 to 10) as string
dim newGrade as ubyte
let grade(i)=stringIf(newGrade<10," ")+str(newGrade)
Quote:...:869: Cannot convert string to a value. Use VAL() function
...:869: Cannot convert value to string. Use STR() function
It seems it happens when I try to concatenate a literal string or a string function (like str) with the string output returned by a defined string function.
(I'm using version 1.2.5, I forgot)
Marcos Cruz
http://programandala.net
http://programandala.net