simplemhan Posted January 13, 2012 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 308 Reputation: 3 Joined: 12/18/11 Last Seen: March 4, 2014 Share Posted January 13, 2012 Please see the picture, unexpected argument for 2 how to fix this, thanks for helping Quote Link to comment Share on other sites More sharing options...
waiwaw Posted January 13, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 01/13/12 Last Seen: November 6, 2014 Share Posted January 13, 2012 strcharinfo is no number u must use getcharid Quote Link to comment Share on other sites More sharing options...
Brian Posted January 13, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted January 13, 2012 If the function expects an integer, use atoi to convert it: $@blax[atoi(strnpcinfo(2))] If the function expects a string, use +"" to conver it: set .@i, 1; set .@string$, .@i + ""; Quote Link to comment Share on other sites More sharing options...
Question
simplemhan
Please see the picture, unexpected argument for 2
how to fix this, thanks for helping
Link to comment
Share on other sites
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.