decode: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Function decode==
==Function decode==
{{ProposedChange}}


Decodes a string that was encoded with the [[Macros:Functions:encode|encode()]] function. The [[Macros:Functions:encode | encode()]] and decode() functions can be used to encode a property list so that it can be embedded within another property list.
Decodes a string that was encoded with the [[Macros:Functions:encode|encode()]] function. The [[Macros:Functions:encode | encode()]] and decode() functions can be used to encode a property list so that it can be embedded within another property list.

Revision as of 14:56, 6 December 2008

Function decode

Decodes a string that was encoded with the encode() function. The encode() and decode() functions can be used to encode a property list so that it can be embedded within another property list.


Usage

[h: str = decode(str)]

Examples

[h: getStrProp(decode(getStrProp(inv, "Weapons"), "Name")]