View Single Post
Old 09-22-2016, 04:27 AM   #15
James HE
Human being with feelings
James HE's Avatar
Join Date: Mar 2007
Location: I'm in a barn
Posts: 4,430

Originally Posted by X-Raym View Post
Excellent !
I updated the code snippet on GitHub Thanks !

As I can see, to display the line of text, we only use gfx_drawstr(i);.

So it seems that the strings are loaded in some kind of buffer where we only need to pass the line number as argument of the draw function to display them in GFX.

But how could we access a particular line without drawing it in GFX (to store it in another variable for exemle). ?

each line is stored in the numbered string slots. To get a variable from it, you use match() to get what you are looking from out of that numbered string.
James HE is offline   Reply With Quote