olej
Member
|
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 |
|
olej
Member
|
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 |
|
Esenthel
Administrator
|
RE: UID.fromText(Str) always returns false
please attach sample code that doesn't work correctly
|
|
07-31-2011 11:53 AM |
|
olej
Member
|
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 |
|
Esenthel
Administrator
|
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 |
|