Difference between revisions of "SET MARK"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=SET MARK=
 
 
 
 
==Class==
 
==Class==
 
Date and Time Data
 
Date and Time Data
Line 15: Line 12:
  
 
==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 20:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set mark to "."
 
set mark to "."
 
?date()
 
?date()
05.05.2000</pre>
+
05.05.2000</code>
  
  

Revision as of 15:12, 16 April 2009

Class

Date and Time Data


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 Database Server, Recital Mirage Server, Recital Terminal Developer