About Store Forum Documentation Contact



Post Reply 
UID.fromText(Str) always returns false
Author Message
olej Offline
Member

Post: #1
UID.fromText(Str) always returns false
According to my friend UID.fromText(Str) worked correctly before, but now it always returns false. Anybody else have the same problem?
07-28-2011 06:31 PM
Find all posts by this user Quote this message in a reply
olej Offline
Member

Post: #2
RE: UID.fromText(Str) always returns false
Nobody? I was thinking that UID may have been accidently 'damaged' during some EE updates...
07-30-2011 07:04 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #3
RE: UID.fromText(Str) always returns false
please attach sample code that doesn't work correctly
07-31-2011 11:53 AM
Find all posts by this user Quote this message in a reply
olej Offline
Member

Post: #4
RE: UID.fromText(Str) always returns false
Code:
UID id;
D.text (0,  0.1f, id.fromText(S+"ABCDEF") ? "yes" : "no");

Always "no" (so UID gets set to value of 0), no matter the string
08-03-2011 11:47 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #5
RE: UID.fromText(Str) always returns false
you're passing an incorrect string, needs to be hexadecimal and of correct length
use UID::asText or asStr and see the result
08-06-2011 11:42 AM
Find all posts by this user Quote this message in a reply
Post Reply