Here's my code ..
Code: Select all
{getLibProperty("BaseDiff", "Lib:Utility")}
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
Code: Select all
{getLibProperty("BaseDiff", "Lib:Utility")}
Code: Select all
[h: retrievedBaseDiff = getLibProperty("BaseDiff", "Lib:Utility")]
[h, if(retrievedBaseDiff == 0): retrievedBaseDiff = ""]
[r: retrievedBaseDiff]
By any chance did you set a default value to 0 for the property on the lib token? If you don't set a default value then it'll probably work.ziltmilt wrote:Again, it works just fine and returns the correct value if the property doesn't equal zero.
It's a lib token thing.ziltmilt wrote:Yes, I put in a default value. Any idea why that would matter?