LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

lp.GetTmpName

LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.

Syntax

TmpName = lp.GetTmpName()

Description

Retrieve a unique name

Parameters

none

Return Values

TmpName : The temporary name.

Return nil if an error occurs

Example

for i=1,10 do tmpName = lp.GetTmpName()
lp.Print(tmpName,"\n")
end

 

Example of return:

112_5705A5755694
113_5705A5755718
114_5705A5755747
115_5705A5755769
116_5705A5755792
117_5705A5755815
118_5705A5755841
119_5705A5755864
120_5705A5755888
121_5705A5755912


www.loriotpro.com