Please enable JavaScript to view this site.

A-Shell Reference

Added September 2025

tab(-10, AG_LANGUAGE; (127);

AG_LANGUAGE (116) queries or sets the ATE / Windows client LDF LANGUAGE setting. It is equivalent to the existing MX_LANGUAGE function but applies to the ATE or Windows client rather than the machine on which the application is running.

Example

? TAB(-10, AG_LANGUAGE); chr(127);   ! query 

input "", LANG$                      ! return name of current language

? TAB(-10, AG_LANGUAGE); LANG$; chr(127);  

! set (no response to this operation)

 

The LANG$ parameter may be just the name (e.g. ENGLSH or SPANSH), in which case it will look in the usual places for the LDF file of that name. Or you may specify a complete filespec (relative to the client).

The only way to determine if the set operation worked is to follow it with a query.xxx