08.05.2013, 21:28
Okay I'm almost certain thats the error though, as strcmp was looking for a "", which writing or numbers contained within, by using strval your dropping the string to numbers... if the string was "123565", it would change it to 123565 as an interger, therefore then comparable with the one you have saved.
ALTERNATIVELY, your could to Valstr... this suprisingly converts and Interger to a string HOWEVER I dont reccomendit as comparing intergers is quicker than checking a string.
ALTERNATIVELY, your could to Valstr... this suprisingly converts and Interger to a string HOWEVER I dont reccomendit as comparing intergers is quicker than checking a string.