• Xojo Script Name - The unique name to allocate to this script.

  • Xojo Script Code - Enter the Xojo script code here


To retrieve the value of the matched expression with all the previous mappings applied use:

Var curExpStr As String = Input("CurExpStr")

To retrieve the value of the original matched expression use:

Var orgExpStr As String = Input("OrgExpStr")

To retrieve the value of the whole string where match was found use:

Var matchedStr As String = Input("MatchedStr")

Use the "Print" call to specify the output of the mapping function that will be used in subsequent mapping actions, or in the final results E.g.

Var curExpStr As String = Input("CurExpStr")
Var hexVal As UInt64 = UInt64.FromString(curExpStr)
Print (curExpStr + " (0x" + hexVal + ")")

This would take the last mapped value of the matched expression, convert it to hex and then return a string representation of the mapped value and its hex value in parentheses.

For XojoScript documentation see:

https://documentation.xojo.com/topics/xojoscript/index.html
  • Note that the aforementioned "Input" usage is an implementation detail of LogMatic that allows the user's Xojo script to easily retrieve the current context of the mapping action tree.