Home » U++ Library support » U++ Core » Gate() or flow control problem
Re: Gate() or flow control problem [message #10460 is a reply to message #10451] |
Tue, 10 July 2007 17:14   |
pntkl
Messages: 4 Registered: July 2007
|
Junior Member |
|
|
Hi Again,
I changed 'if(Gate(Validate())){}' to if(!Gate(Validate())){}, which seems to be working okay. Now, the CompareNoCase() statments always match, even if the compared strings are completely different. Can someone help me understand what I'm missing?
Also, I can't find stricmp(), nor CompareNoCase() in Assist++. Is there an easy way to search through the UPP source code (with TheIDE), in order to find out how they are written? (I'd normally use grep/sed/awk, but I was hoping TheIDE had similar functionality)
<Edit1>
I forgot to mention: It seems as if the instance of Sha1 is simply compounded, when it is called again. E.G. the same password strings are showing different Sha1.Finish() strings when I use Add(). I tried using Sha1.Put("", 0), and it seemed to work initially. I'm not sure what changed, but it doesn't work now.
If I'm posting in the wrong forum, please, let me know... 
</Edit2>
<Edit2>
I used PromptOK(strColFirstName, etc), and it seems that userarray.GetColumn(i, N) isn't returning the column value. Get(i, N) didn't work for me either. I was thinking about using a char array, but that won't help me--when I can't get a column's value... 
</Edit2>
[Updated on: Tue, 10 July 2007 18:41] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Jul 15 09:52:37 CEST 2025
Total time taken to generate the page: 0.05456 seconds
|