home | help
get_key(3)			  Arcan Lua API 		      get_key(3)

NAME
     get_key - Retrieve a key/value pair from the database.

SYNOPSIS
     string or nil
     get_key( key, opttgt, optcfg )

DESCRIPTION
     Return  a	single	value associated with a key  from either the appl global
     space, or from an optional target or optional target/configuration.

EXAMPLE
     function get_key0()
	   local test = store_key("test", "result");
	   local value = get_key("test");
	   if (value == "result") then
		 print("OK");
	   end
     end

SEE ALSO:
     store_key(3)

database			   August 2026			      get_key(3)

home | help