RPTools

Personal tools
From MapToolDoc

varsFromStrProp

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
 This article needs: Documentation on how the decor(suffixed/unsuffixed) parameter works.

Contents

varsFromStrProp() Function

Introduced in version 1.3b42

Creates variables from a string property list with the values assigned to variables with the names of the keys in the string property list. The function returns the number of variables that were created.

Usage

  1. varsFromStrProp(props)
  1. varsFromStrProp(props, decor)

Examples

  1.     [h: varsFromStrProp("a=blah; b=doh; c=meh")][r: a] [r: b] [r: c]

Returns

   blah doh meh

Version Changes

  • 1.3b49 - Added suffixed or unsuffixed parameter option.