Difference between revisions of "FORCEEXT()"

From Lianjapedia
Jump to: navigation, search
m (moved FORECEXT() to FORCEEXT())
 
(No difference)

Latest revision as of 09:01, 16 November 2012

Purpose

Function to return a file name with a new extension

Syntax

FORCEEXT(<expC1>,<expC2>)

See Also

BASENAME(), DBF(), DEFAULT(), DEFAULTEXT(), FORCEPATH(), GETENV(), JUSTDRIVE(), JUSTEXT(), JUSTFNAME(), JUSTPATH(), JUSTSTEM(), NDX(), PATH(), SET FULLPATH, SET PATH, SYS()

Description

The FORCEEXT() function returns a file name based on <expC1> with a new extension <expC2>.

Example

open database southwind
use customers
? forceext(dbf(),"dbd")
? forceext(dbf(),"dbt")
? forceext(dbf(),"dbx")