What is purpose of those lines

dear Gunner ;
i have a task to understand the code i comment on it and you kindly replied me
now i still searching for the general and terminal declaration and i need your help to know :
what is purpose of those lines
WidgetTerminal terminal(V9);
char termtxt[12]=" “;
char prevcmd[12]=” ";

what is purpose of those lines
WidgetTerminal terminal(V9);
char termtxt[12]=" ";
char prevcmd[12]=" ";

Please stop posting questions in old topics. Create new topics with as much clarity and background info as needed.

One command sets up a Terminal Widget on Virtual pin 9

The other two setup Character Arrays for storing data for some other purpose as determined in the code you saw them in.

These are just some of the many many lines of code that you will not have understanding of until you slowly learn a bit about programming (I only recently learned a bit more about using Char Arrays). I recommend Googling each command that you do not understand and seeing what you can find out.

1 Like