The Function StringToInteger() has been made in a hurry

 
   long s2iChar = StringToInteger("A");
   Print(s2iChar);
   // The result is: 0
   // in my humble opinion it's supposed to be -1 or some error code

   long s2iNo = StringToInteger("0");
   Print(s2iNo);
   // The result is: 0
 
Print(StringToInteger("12345"));

Its a

 const string number_string
string character to integer character
 
deysmacro:

Its a

string character to integer character

read again please

StringToInteger

The function converts string containing a symbol representation of number into number of int (integer) type.

long StringToInteger(
string value // string
);

Parameters

value

[in] String containing a number.

 
If we are encouraged to report minor problems like this, I think I could fill this forum all by myself [big grin]
 
ballenoz:
If we are encouraged to report minor problems like this, I think I could fill this forum all by myself [big grin]
You are encouraged to report them all to the Service Desk
 
ho, don't get me wrong
i'm not reporting anything it's just an announcement ;-)
 
qjol:
ho, don't get me wrong
i'm not reporting anything it's just an announcement ;-)

I am just running with the flow .. XD