View Single Post
Old 01-09-2018, 02:45 PM   #32
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,686
Default

Quote:
Originally Posted by fundorin View Post
So, we have two variables, pos and pos2, containing the same value - "\x0B".
Please try to use exact wording.

e.g: -> we have two variables, pos and pos2 each holding the id of a string. Both these strings contain the character sequence "\x0B".
That obviously is not true.

Regarding your "print" commands, correct is:

->
we have a variable pos that holds the number 11.
we have a variable pos2 that holds the index of a string. This strings contain the character sequence "\x0B".

No idea what happens to your x11 which would be 17. What exactly did you intend to do by pos = "\x11" ? There is no clear definition in the OSCII-Bot code reference, but it seems that it should create a string that contains a single character with value 17 (hence not printable) and set the variable pos to the value of the index of this string. (I did not check this right now.)


-Michael

Last edited by mschnell; 01-09-2018 at 10:29 PM.
mschnell is offline   Reply With Quote