15.2. Displaying the Language

The following commands help you find out which language is the working language, and also which language source files were written in.

show language

Display the current working language. This is the language you can use with commands such as print to build and compute expressions that may involve variables in your program.

info frame

Display the source language for this frame. This language becomes the working language if you use an identifier from this frame. See Section 12.4, to identify the other information listed here.

info source

Display the source language of this source file. See Chapter 16: Symbols, to identify the other information listed here.