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.CountFreeGObject

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

nb = lp.CountFreeGObject()

Description

Give the number of Global Object that are available for creation. The maximum number of GO is 5000.

Parameters

none

Return Values

value : the quantity of GO that can be created

Return nil if an error occurs

buffer : value

Return nil if an error occurs

Example


GOc=lp.CountFreeGObject()
lp.Trace(GOc )

 


www.loriotpro.com