how to get a string input and compare it . say for example: if i get a string input"LED ON " and i want to compare it with a list of string say "LED ON ",LED OFF,FAN ON,FAN OFF.....
give me the commands and some sample programs .please.
one or 2 small errros but the theroy is good.
So that's intended to be pseudo-code, and not any real 'C', then?
yah thats' it
but i have used macrows to do it ;=O)
"but i have used macrows to do it ;=O)"
Still not in the 'C' language.
i use a pre pre processsor to do the macrops:called jonsprepreprocessor.ocx
if your' interesting let me know and i can send it
in BASIC but not C
try strcmp() or strncmp()