function

ct . files . sncode

VERSIONlatest Get the value for a code.

CT

NAME

ct - Get the value for a code.

SYNOPSIS

ct(code:string,lg:string[,ct:string]);

DESCRIPTION

This function is used to return the value of a code in all languages.

PARAMETERS

ct
Specify the name of the table. Default is ct.
code
Specify the code to read from the ct. If this code is not available, a new one is created.
lang
Specify language. Default is "fr". The system will also try to use lg.

RETURN

A string with the value of code in the language.

EXAMPLES

a = ct(code:"test",ct:"sn_ct",lang:"fr");

AUTHOR

Written by Pierre Laplante, <laplante@sednove.com>