String to int8

Hi everybody,

I’m dealing with a program that modifies SysEx files.
I’m in the need of changing a string (a value given by the user within a textfield) to a byte, an int8 value to be precise.
Maybe I’m getting lost in a idiot problem but I cannot find a solution: could you please help me?
Many thanks.

Use a MemoryBlock.

Wouldn’t this work?

dim i as Int8 = val("127")

edit: changed from Uint8 to Int8

Thanks Tanner, I knew I was losing myself in nothing… :slight_smile: