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.GetPath - Return the LoriotPro installation directory

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

path=lp.GetPath();

Description

Get the LoriotPro software installation path.

Parameters

None

Return Values

path - The path as a character string

Example


lp.Trace(lp.GetPath());
dofile(lp.GetPath().."/config/script/loriotinit.lua");
lp_value=0;
lp_buffer="ok";

 


www.loriotpro.com