Difference between revisions of "SET MARK"

From Recital Documentation Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET MARK=
 
 
 
==Class==
 
Date and Time Data
 
 
 
 
==Purpose==
 
==Purpose==
 
Change the separator character in dates
 
Change the separator character in dates
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[CTOD()]], [[DATE()]], [[DMY()]], [[DTOC()]], [[DTOS()]], [[DTOV()]], [[MDY()]], [[STOD()]], [[VTOD()]], [[SET DATE]]
+
[[CTOD()]], [[DATE()]], [[DMY()]], [[DTOC()]], [[DTOS()]], [[DTOV()]], [[MDY()]], [[SET DATE]], [[STOD()]], [[VTOD()]]
  
  
Line 23: Line 16:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set mark to "."
 
set mark to "."
?date()
+
? date()
05.05.2000</pre>
+
05.05.2000</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|MARK]]
 
[[Category:Set_Commands|MARK]]
 +
[[Category:Date and Time Data]]
 +
[[Category:Date and Time Data Set Commands]]

Latest revision as of 16:21, 23 November 2009

Purpose

Change the separator character in dates


Syntax

SET MARK TO [<expC>]


See Also

CTOD(), DATE(), DMY(), DTOC(), DTOS(), DTOV(), MDY(), SET DATE, STOD(), VTOD()


Description

The SET MARK TO command changes the separator character in dates to the character specified in expression <expC>. If character expression <expC> evaluates to more than one character, the SET MARK TO command only uses the first character in the string. The default separator in dates is determined by the setting of the SET DATE TO command. If the optional <expC> is not used, the date separator is set back to the default.


Example

set mark to "."
? date()
05.05.2000


Products

Recital Server, Recital