Contents - Index


STRINGVAL

 

StringVal returns the numerical value formed by the characters of a string constant or string variable.  This function provides the inverse operation of the String$ function.

 

This function can be applied with a string variable dropdown list on the Diagram window when it is desired to allow the user to select from a pre-determined set of numerical values.

 

Example: 

 

R$='22';   

V=StringVal(R$)

 

{Solution:

V=22

}

 

 

Return to String Functions