Difference of toString(...) and tryConvert(string,...)
Posted: 24 Apr 2016 7:01
I have defined a
When I wanted to pass a variable from this domain to a procedure having string arguments
resulted result surrounded by double quotes.
The conversion
resulted unchanged string.
The complier warned me sometimes about "superfluous conversion from species to string".
Code: Select all
domain
species = string.
Code: Select all
Species="cat",
V_String=toString(Species)
Code: Select all
V_String=""cat"".
Code: Select all
Species="cat",
V_String=tryConvert(string,Species)
Code: Select all
V_String="cat".