how do I convert a text string from an external txt-file to a integer så I can use the number
(external file: var1=20)
(flash: loadVariablesNum(“datafile.txt”,0); …it works but the var1=20 is a text string
plz help!
how do I convert a text string from an external txt-file to a integer så I can use the number
(external file: var1=20)
(flash: loadVariablesNum(“datafile.txt”,0); …it works but the var1=20 is a text string
plz help!
hehe, u just need to add this to ur var:
var = parseInt(yourVar);
yours,
h88
:: Copyright KIRUPA 2024 //--