Stolao Posted November 15, 2014 Posted November 15, 2014 im trying to make the Explode function produce an integer rather then a string EG .@i vs .@i$, and i seem to be having a brain fart, i know ive done this before in a script a while back ideas? Quote
Capuche Posted November 15, 2014 Posted November 15, 2014 Maybe make a loop to convert the string to int with atoi command explode( .@tmp_string$, "1,2,3,4", "," ); .@size = getarraysize( .@tmp_string$ ); for ( .@i = 0; .@i < .@size; .@i++ ) .@tmp_int[.@i] = atoi( .@tmp_string$[.@i] ); (or use bitwise operator) Quote
Stolao Posted November 16, 2014 Author Posted November 16, 2014 Hmm ya i found out they updated the explode to require a string output since my last update, time to update like 20 scripts to new rev. Quote
Question
Stolao
im trying to make the Explode function produce an integer rather then a string EG .@i vs .@i$, and i seem to be having a brain fart, i know ive done this before in a script a while back ideas?
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.