| Example TOUNIX.PRT |
; TOUNIX
;
; Program for Proteus
;
; (C) 1998-2004 Simone Zanella Productions
;
; Transforms to Unix format (EOL = LF) a text file in any format.
FUNCTION ONSTART()
IF STREQ(ARGV(3), "..")
CONSOLELN "Syntax: " ARGV(1) " " ARGV(2) " source destination"
CONSOLELN ""
CONSOLELN "Purpose: transforms to Unix format (EOL = LF) a text file in any format"
ABORT 0
FI
_EOL = "\n"
RETURN
PRINTLN L
| Samples index | Next example | Previous example | Contents | Index |