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