Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To translate from *.flx to *.f outside PSSe, save the following to a file "flecs.bat" and run it against your code:

@rem FLECS.bat - Translate flecs code *.flx to fortran66 *.f
@rem run as c:\..>flecs uexc
@ECHO OFF
IF "%1"=="" (
   ECHO "Enter flex filename [no ext, expected .flx] to be translated to .f"
   GOTO FIN )
@rem the -C option preserves the comments in .flx
@ECHO ON
FLECS32 "%1" -C -L NO -F "%1.F" -W 132 -F77
:FIN
@ECHO "Flecs ends"