std-longfnamep


Synopsis

(std-longfnamep <fname>)

Description

std-longfnamep checks without any system inquiry if the given filename fits into the DOS 8.3 scheme or not.

This is T if the base is longer than 8 chars, the extension is longer than 3 chars or if there is any space.

Compare to (STD-SYS-LONGFNAME-P) if the system supports long filenames.

Examples

(std-longfnamep "d:/acad/test.lsp")  => nil
(std-longfnamep "d:/acad/testprogram.lsp")  => T
(std-longfnamep "test.lisp")  => T
(std-longfnamep "tes t.lsp")  => T

Arguments

fname: a string. A partial or fully qualified filename specifier.

Return Value

T or nil.

Side Effects

None.

Module

(std-require 'STDFILE)

Defined in STDFILE