Hi All,
This question might be lower than basic, but after countless number of attempts I don't care to be laughed at. It still remains a mist to me how strings behave in FM. There is a long list of string functions available, but alas no added lines of code of how to apply it in FM.
strcpy( str0, "RED, GREEN, BLUE");
This works, setCtlTextv( 100, " %s", str0); reads correctly. But there are only 20 predefined variables in FM...
Therefore:
when I create a new char variable such as char aa[ 256];
it reads shifted repeats from other char variables. What is wrong?
Since FM is C+ based, but not entirely works as C+, examples of C+ are rejected in the compiler.
- - - - - - - - - - - - - - - - - - - - - -
Question:
Would there be somebody so kind to list up some elementary, but in FM working examples of
1. How to simply put a line of text into a variable, other than the 20 predefined ?
2. And eventual: practical example of how to extract a selection, how to convert a character into a number, etc... ?
Thanks in advance !
Paul