All Developer functions
The devloper are used for debugging purposes. So you can break (__break) the debug process or dump information from the process.
Name | Function header | Example | Result | Description | Errorhandling |
---|---|---|---|---|---|
__break | func() boo | [[ $result := ]] |
$result = | ||
__cache | func() string | [[ $result := ]] |
$result = | ||
__data | func() string | [[ $result := ]] |
$result = | ||
__debug | func(objs …interface{}) string | [[ $result := ]] |
$result = | ||
__dump | func() string | [[ $result := ]] |
$result = | ||
__exit | func(sec int) bool | [[ $result := ]] |
$result = | ||
__sleep | func(sec int) bool | [[ $result := ]] |
$result = | ||
__template | func() string | [[ $result := ]] |
$result = | ||
__vars | func() string | [[ $result := ]] |
$result = |
// TODO
func() bool
The __break
function break the function.
Examples
[[ $result := __break ]]
$result = true
// TODO
func() string
The __cache
function returns the cache, which is used in the function.
Application notes / Limits:
Examples
[[ $result := __cache ]]
$result = "????"
// TODO
func() string
The __data
function returns the data block of the ingrid protocol message
Examples
[[ $result := __data ]]
$result = "????"
// TODO
func (objs ...interface{}) string
The __debug
function …
Application notes / Limits:
Examples
[[ $result := indent "This is a test string" 5 ]]
$result = " This is a test string"
// TODO
func() string
The __dump
function returns the ingrid protocol message data-block, all variables, all global variables, globals and cache.
Examples
[[ $result := __dump ]]
$result = "????"
// TODO
func(sec int) bool
The __exit
function exits the function after amount of seconds is passed.
Examples
[[ $result := __exit 5 ]]
$result = "????"
// TODO
func(sec int) bool
The __sleep
function sleeps in the function for the amount of seconds.
Application notes / Limits:
Examples
[[ $result := __sleep 5 ]]
$result = "????"
// TODO
func() string
The __template
function returns the used template in this function.
Application notes / Limits:
Examples
[[ $result := __template "This is a test string" 5 ]]
$result = "????"
// TODO
func() string
The __vars
function returns all varibales and global variables of the used function.
Examples
[[ $result := __vars ]]
$result = "\n******************* VARS **************************\nLocal:\n---"