Home AMX User Forum NetLinx Studio

Getting numeric string from buffer

if the buffer contains <number in string>$0D, how to extract the number in string?

Comments

  • bartliew wrote: »
    if the buffer contains <number in string>$0D, how to extract the number in string?

    char Buffer[200]
    integer Value

    Value = atoi(Buffer)

    type atoi in studio editor. highlight atoi with the mouse and hit F1 for more info. this is probably what you are asking for.
  • bartliewbartliew Posts: 6
    Thanks for the help! :-) Oh...How come I didn't realize of this!
Sign In or Register to comment.