fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

TRANSLATE HIGH VALUE CHARACTERS

Syntax:

[DO NOT] TRANSLATE HIGH VALUE CHARACTERS IN STRINGS [DO NOT] TRANSLATE HIGH VALUE CHARACTERS IN COMMENTS

Function:

Characters with ASCII values greater than 127 sometimes cause problems in compilation. The effects are compiler and operating system specific, but when they occur it is as if the input file is corrupt.

These commands instruct fpt to replace high value characters in strings or comments with the character "." (dot or period).

Where to Use this Command

Operating system command line Yes
Configuration file, config.fsp Yes
Specification (fsp) files, *.fsp Yes
Interactively, to FPT> prompt No
Interactive command files No
Embedded in the Fortran code No

Default

High valued characters are not changed by default.

Example

The character "ü" has the ASCII value 252. The comment:

C Gruppenamenanpassung für die Offline Programme

is translated by the command TRANSLATE HIGH VALUE CHARACTERS IN COMMENTS to:

C Gruppenamenanpassung f.r die Offline Programme

Copyright ©1995 to 2022 Software Validation Ltd. All rights reserved.