is there a way to read the TP program line by line using the KAREL program?
I know that it is possible to do it through LS.
thanks.
is there a way to read the TP program line by line using the KAREL program?
I know that it is possible to do it through LS.
thanks.
It would help if you explained the context of what you are trying to achieve.
Karel can read the .tp line by line, but you are reading the byte code of the TP line.
See this thread.
Another method would be to have karel just open the .ls file on the MD: drive, if all you have to do is extract some text from it.
Also, I am not aware of a ls (tp?) method of reading lines from other programs. Please explain.
I have looked at this thread. There is a list of KAREL instructions, some I can't find in the Karel manual.
"Also, I am not aware of a ls (tp?) method of reading lines from other programs. Please explain." - open the .LS file and read the program code from it line by line.