View Single Post
Old 01-13-2018, 03:29 PM   #74
goldenarpharazon
Human being with feelings
 
Join Date: Feb 2016
Posts: 189
Default

Quote:
Originally Posted by fundorin View Post
I don't think that you understand the issue right.

"\xF0\x00\x20\x29\x03\x03\x12\x00\x02\x00\x02"
=
2470141C33C0202

?
How and where did this 15 digit printed hex number come from? Show the code that produced it along with the assignment statement and then it might be possible to answer the next question. It's just possibly the pointer to the string.

Quote:
Originally Posted by fundorin View Post
How would oscii-bot or midi controller understand that 247 is a number and not a sequence of numbers 2, 4 and 7?
If its a pointer value then OSCII-bot or the midi controller won't need to use the pointer directly. The pointer just tells the EEL run time system where to find the actual bytes that make the string.

Please spend some time researching how mutable and/or immutable strings can be stored in a computer's memory and data structures for more common programming language than (arcane) EEL. Try this https://www.interviewcake.com/articl...ding-interview? Look at computer science learning stuff, youtube? Find material that suits your learning style beyond reading text?

Try and understand the difference and yet inter-connected relationships between characters, bytes in memory, strings and pointers.

The majority of high level languages in common use today hide pointers from programmers. But EEL has a C/C++ like heritage and it is still using pointers for strings and in the programmer's use of arrays.

Last edited by goldenarpharazon; 01-13-2018 at 03:46 PM.
goldenarpharazon is offline   Reply With Quote