Hi Hans, there is a extra “ta” in “metadata”. local function getcurrentprefixspec(default) local data = currentreference and currentreference.i local metadata = data and data.metadata print(metatadata and metadata.kind or "?") return - metatadata and metadata.kind or "?", - metatadata and metadata.name or "?", - default or "?" + metadata and metadata.kind or "?", + metadata and metadata.name or "?", + default or "?" end Wolfgang
On 6/20/2015 6:49 PM, Wolfgang Schuster wrote:
Hi Hans,
there is a extra “ta” in “metadata”.
local function getcurrentprefixspec(default) local data = currentreference and currentreference.i local metadata = data and data.metadata print(metatadata and metadata.kind or "?") return - metatadata and metadata.kind or "?", - metatadata and metadata.name or "?", - default or "?" + metadata and metadata.kind or "?", + metadata and metadata.name or "?", + default or "?" end
thanks, will be fixed Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Wolfgang Schuster