AnsweredAssumed Answered

assert & Str2Int

Question asked by charles on Aug 1, 2012
I am trying to use assert () to check amd make sure that my input is an integer.  I assign char choice[15]; u32 a; u8 n;  then I write n=Str2Int (*choice, *a); and it don't work, error bad argument type.   If I change my declarations so that I get no error on Str2Int I then get an error on assert (a>=1 && a<=9);
I have changed my config file to allow assert and added a prototype and included assert.h.
I am using Raisonance tools
charles arnett