ML

 

 

Purpose

ML is used to add displayable text defined in logic to the Lexicon.
 

Syntax

variable = ML(String{,TranslationMode{,MaxLen,{MeaningCode}}})
 

Operation

String is the displayable text which requires translation.
TranslationMode
 sets the rule
if the translated text exceeds the maximum length. Either 'D'-Use Translation, 'T'-Truncate to Fit, or 'B'-Don't Translate.
MaxLen
is the maximum length of the translated text.
MeaningCode
can be used if the string has multiple meanings. 

Remarks
 

 

Example
 

$InvNo = ML('Invoice Number','D',10) 

Adds 'Invoice Number' to the Lexicon. If the translated text exceeds the maximum length of 10, then the translation on the screen is truncated (with an ellipsis to show this), and the full string displays in a tool tip. Note that the parameters after the string are optional.

 

 

Comment on this topic

Topic ID: 520251

 
 
 

Table of Contents

Index

Glossary

-Search-

Back