Maybe you can help me
-
So guys
I have the following problem
i have a input and the input is "print()"
now i know print is 6 characters longmaybe you understand what i want
starter=5
if strcontains(console,"print()")then
length=len(console)
something=length-starter
for starter to lenght loop
print[i]
//it should go higher and higher
//i want to start from one positon who is i think always 5i know this is totally understandeble but maybe you can help me
my goal is
I know that print is usually 6 long if print is 7 long i have to go one step moremaybe you understand it
-
Have you looked at the "Helping an Interpreter" project by Mario Bodemann? It sounds like you might be trying to do something similar, it was part of the 2nd FUZE Game Jam
The game code should be: FUZEGJ0203
Maybe that project could help you with this? -
@PB____ Solved it and with less lines then mario did.
In fact long time ago i looked in marios code but its very complex stuff.
Its very impressive and on an higher level then my code.
Its not exact that what mario did.
For example i think he goes trough the entire string break it down into tokens and so on.