Difference between revisions of "SET FULLPATH"

From Recital Documentation Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=SET FULLPATH=
 
 
 
==Class==
 
Environment
 
 
 
 
==Purpose==
 
==Purpose==
 
Controls file specification display
 
Controls file specification display
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[LIST STATUS]], [[SET PATH]], [[BASENAME()]], [[DBF()]], [[FMT()]], [[NDX()]]
+
[[BASENAME()]], [[DBF()]], [[FMT()]], [[LIST STATUS]], [[NDX()]], [[SET PATH]]
  
  
Line 23: Line 16:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
use state.rdb
 
use state.rdb
 
? dbf()
 
? dbf()
Line 29: Line 22:
 
set fullpath on
 
set fullpath on
 
? dbf()
 
? dbf()
/usr/recital/UD/demo/state.rdb</pre>
+
/usr/recital/UD/demo/state.rdb</code>
 
+
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|FULLPATH]]
 
[[Category:Set_Commands|FULLPATH]]
 +
[[Category:Environment]]
 +
[[Category:Environment Set Commands]]

Latest revision as of 15:49, 23 November 2009

Purpose

Controls file specification display


Syntax

SET FULLPATH ON | OFF | (<expL>)


See Also

BASENAME(), DBF(), FMT(), LIST STATUS, NDX(), SET PATH


Description

If FULLPATH is set ON, then the full file specification, including disk and directory, is displayed by commands and functions that display or return filenames. When FULLPATH is set OFF only the filename is displayed or returned. The SET FULLPATH OFF command can be used when programs whose functions return full file and path names are incompatible with programs whose functions only return the drive and the filename. The default for SET FULLPATH is OFF. The function BASENAME() can be used with FULLPATH to return only the filename when SET FULLPATH is ON.


Example

use state.rdb
? dbf()
state.rdb
set fullpath on
? dbf()
/usr/recital/UD/demo/state.rdb

Products

Recital Server, Recital