HP3000-L Archives

August 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Glenn Cole <[log in to unmask]>
Reply To:
Date:
Wed, 19 Aug 1998 12:43:09 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
Valeda writes:

> Couldn't figure out how to determine if the file is ASCII or BINARY on the
> fly, but will assume that a merge will always be with ASCII files.  Maybe
> someone knows (and will share) this trick.

if pos( "ASCII", finfo("filename","fmtfopt")) > 0
   echo file is ASCII
else
   echo file is NOT ASCII
endif

--Glenn

ATOM RSS1 RSS2