User Tools

Site Tools


item_func

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
item_func [2022/03/22 21:39] – external edit 127.0.0.1item_func [2022/09/03 23:25] – external edit 127.0.0.1
Line 265: Line 265:
 |colspan="2" |**Description:** |colspan="2" |**Description:**
 |- |-
-|colspan="2" |Returns: Int+|colspan="2"Looks up the property by name on left side of ':' parses the numeric value on the right side of the : into a float number and returns the number
 |- style="background-color:#f0f0f0;" |- style="background-color:#f0f0f0;"
 |**Returns** |**Returns**
-|String+|float
 |- |-
 |**In Object:** |**In Object:**
Line 275: Line 275:
 |**Parameters:** |**Parameters:**
 |Int serialtoinspect or Item itemtoinspect, Int PropIndex |Int serialtoinspect or Item itemtoinspect, Int PropIndex
 +
 +|}
 +
 +{|style="font-size:85%; border:solid 2px; width: 50%;"
 +|style="font-size:150%;  padding: 2px" colspan="2" | **Get Item Proprerties**
 +|- style="background-color:#f0f0f0;"
 +|**Syntax**
 +|style="width: 90%" | Items.GetPropValueString(int serial, string propname)
 +|-
 +|colspan="2" |**Description:**
 +|-
 +|colspan="2" | Looks up the property with the name provided on the left side of a : and returns the string on the right side or the :. Note: partial property name matchs work e.g. "loc" will match to "location", but "ocation" will not match "location"
 +|- style="background-color:#f0f0f0;"
 +|**Returns**
 +|string
 +|-
 +|**In Object:**
 +|Items
 +|- style="background-color:#f0f0f0;"
 +|**Parameters:**
 +|Int serialtoinspect or Item itemtoinspect, string PropName
  
 |} |}
item_func.txt · Last modified: 2022/09/22 01:15 by 127.0.0.1

Exception: Git command failed to perform periodic pull: From https://github.com/RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error

Exception: Git command failed to perform periodic pull: From https://github.com/RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error

An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the gitbacked plugin.

More info has been written to the DokuWiki error log.