Difference between revisions of "Ret()"

From Lianjapedia
Jump to: navigation, search
 
m (1 revision)
(No difference)

Revision as of 06:34, 11 April 2013

PURPOSE

Return without returning any value

SYNONYM

api_ret()

SYNOPSIS

#include "lianjaapi.h"
 
int	_ret()
 
<input parameters>
none
 
<output parameters>
none

DESCRIPTION

The _ret() function is used to return without returning any value. This allows for the function to be used like a command.

EXAMPLE

The following example returns without returning any value.

Example Lianja script:

exec_command("test")

Example 'C' function:

#include "lianjaapi.h"
 
lianjaapi_exec_command()
{
    ret();
}

SEE ALSO

_retc(), _retclen(), _retds(), _retl(), _retnd(), _retni(), _retnl(), _reto(), _retts(), _retys()