encode: Difference between revisions

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


Encodes a string that was can be decoded with the [[Macros:Functions:decode|decode()]] function. The [[Macros:Functions:decode | decode()]] and encode() functions can be used to encode a property list so that it can be embedded within another property list.
Encodes a string that was can be decoded with the [[Macros:Functions:decode|decode()]] function. The [[Macros:Functions:decode | decode()]] and encode() 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 encode

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


Usage

[h: str = encode(str)]

Examples

[h: innerPropList = encode("val1=blah ; val2=blahblah")]
[h: props = setStrProp(props, key, innerPropList)]