## Langinfo

### Definition

Langinfo is an initialization file from VMAKE. In this file you assign the individual programming languages to the tools that should be used for unpacking and translating module files.

### Use

If VMAKE finds a Langinfo file, the information contained in the file overrides the system default of VMAKE. To change or enhance the existing assignments, create a file with the name Langinfo in the desc directory. All further changes are then made in this file.

Each programming language is specified in the Langinfo file by a letter. This letter is defined in the Langextinfo file.

#### Syntax

<langinfo_line> = <comment_line> | (<lang_id><token_sep><unpack_inc_tool><token_sep><unpack exp tool><tokensep><unpack mod tool><tokensep><extension><tokensep><option prefix><tokensep>
<compiler tool>)

<unpack inc tool> = <token>

<unpack exp tool> = <token>

<unpack mod tool> = <token>

<extension> = .<token>

<option prefix> = <ext character><letter>

<compiler tool> = <token>

Use the # character as the comment character.

System Default Value

last char | unpack include | unpack exports | unpack module | extension | option prefix | compiler | comment
t | mfpinc | mfpexp | mfp | .p | %T | comppc | # PASCAL
p | mfpinc | mfpexp | mfp | .p | %P | compp | # PASCAL
c | mfcinc | mfcexp | mfc | .c | %C | compc | # C
x | mfcinc | mfcexp | mfc | .cpp | %X | compc | # C++
a | mfainc | mfaexp | mfa | .s | %A | compa | # Assembler
r | mfcinc | mfcexp | mfrc | .rc | %R | comprc | # Resources

The scripts for unpacking a module file use the table entry in extension as the file extension.

### Example

w mfcinc mfcexp mfrc .rc .res %W comprc2res