HP3000-L Archives

November 1999, Week 2

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:
"Gerald R. Dillard" <[log in to unmask]>
Reply To:
Date:
Sun, 14 Nov 1999 06:34:35 EST
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
In a message dated 11/14/1999 03:27:06 AM Eastern Standard Time,
[log in to unmask] writes:

> Syntax:     FINFO(filename, option)
>
>  Defn:       A CI evaluator function that returns information about
>              th
>

The key is that FINFO is a function.  A Command Interpreter (CI) function
works similarly to functions in other programming languages.  It is invoked
by name and returns a result via its name.  In evaluating an expression, the
CI invokes
all functions, replacing their name and arguments with the result of
the function.

Try the following

:if finfo("xl.pub.sys","exists") then
::::
:endif

(The following comes from the MPE help subsystem.)

There are many CI functions which can be categorized as follows:
I.    filename functions:
      BASENAME, DIRNAME, FINFO, FSYNTAX, FQUALIFY
II.   parsing functions:
      ALPHA, ALPHANUM, DELIMPOS, DWNS, EDIT, LEN, LFT, LTRIM, NUMERIC,
      PMATCH, POS, REPL, RHT, RPT, RTRIM, STR, TYPEOF, UPS, WORD, XWORD
III.  conversion functions:
      CHR, DECIMAL, HEX, OCTAL, ORD
IV.   bit functions:
      BAND, BNOT, BOR, BXOR, CSL, CSR, LSL, LSR, ODD
V.    arithmetic functions:
      ABS, MAX, MIN, MOD
VII.  logical functions:
      AND, OR, NOT, XOR
VIII. misc. functions:
      ANYPARM, BOUND, INPUT, SETVAR, QUOTE

For a list of all CI functions and additional information on CI functions,
type :help functions.

Gerald R. Dillard
Outer Banks Solutions, Inc.
<A HREF="[log in to unmask]">[log in to unmask]</A>
<A HREF="www.outerbankssolutions.com">www.outerbankssolutions.com</A>
Phone: 919.231.2171 Fax: 919.231.7077 Sales: 800.558.5336

ATOM RSS1 RSS2