Note: This has been replaced by the ML Verb but the LITERAL_TEXT_WIDE logic command is supported for legacy reasons.


 

 

Purpose

LITERAL_TEXT_WIDE makes it easy to translate an application from one language to another
 

Syntax

LITERAL_TEXT_WIDE (wide literal name)
 

Operation

wide literal name defines which alpha literal name translates to a message definition.  The maximum number of characters in an alpha literal name is 12 characters.
 

Remarks

Use LITERAL_TEXT_WIDE when a prompt or message is required from the PROIV logic code.  A literal name is used for each message or prompt.

The first method involves changing all logic containing the line in the application.

The second method requires that only the bootstrap file must be changed.

The second method is recommended.

If the literal is not defined in literal.pro, it results in a GEN ERROR  (The function cannot be genned.)

Example

To display the text 'CUSTOMER NAME' from logic, there are two methods of coding:

  1.  UMSG (“CUSTOMER NAME: “+ $NAME., -1)

  2. UMSG (LITERAL_TEXT_WIDE(CUST_NAME), -1)

 

Comment on this topic

Topic ID: 520209

 
 
 

Table of Contents

Index

Glossary

-Search-

Back