hi, im writing simple program.
i have entered text as string and i want to change first 6 characters of that string to integer, i wanted to use val function, but it's always returning exitcode 217. i think that val don' t like syntax of s[1..6];, but i don't know how do it in other way.
so if someone can help me? i just need this - s[1..6] turned to integer. i don't want to use stringtoint function
im using free pascal
if u need full code, just ask...
string to integer problem
Started by Masonic, Nov 16 2010 12:31 PM
2 replies to this topic


Sign In
Create Account


Back to top









