Difference between revisions of "MTOS()"
From Recital Documentation Wiki
Helengeorge (Talk | contribs) (→Class) |
Yvonnemilne (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to convert a memo field to character data type | Function to convert a memo field to character data type | ||
Line 10: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [[HARDCR()]], [[MEMLINES()]], [[MEMOEDIT()]], [[MEMOLINE()]], [[MEMOSAY()]], [[MEMOREAD()]], [[MEMOTRAN()]], [[MEMOWRITE()]], [[MLCOUNT()]], [[MLINE()]], [[SET MEMOCLEAR]], [[SET MEMOFORMAT]], [[SET MEMOWIDTH]], [[SET MEMOWINDOW]], [[SET PRERECORD]], [[SET WP]], [[STRTRAN()]], [[SUBSTR()]], [[TEXTEDIT()]] | + | [[HARDCR()]], [[MEMLINES()]], [[MEMOEDIT()]], [[MEMOLINE()]], [[MEMOSAY()]], [[MEMOREAD()]], [[MEMOTRAN()]], [[MEMOWRITE()]], [[MLCOUNT()]], [[MLINE()]], [[SET MEMOCLEAR]], [[SET MEMOFORMAT]], [[SET MEMOWIDTH]], [[SET MEMOWINDOW]], [[SET PRERECORD]], [[SET STRESCAPE]], [[SET WP]], [[STRTRAN()]], [[SUBSTR()]], [[TEXTEDIT()]] |
Line 27: | Line 25: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 12:06, 21 July 2010
Purpose
Function to convert a memo field to character data type
Syntax
MTOS(<memofield>)
See Also
HARDCR(), MEMLINES(), MEMOEDIT(), MEMOLINE(), MEMOSAY(), MEMOREAD(), MEMOTRAN(), MEMOWRITE(), MLCOUNT(), MLINE(), SET MEMOCLEAR, SET MEMOFORMAT, SET MEMOWIDTH, SET MEMOWINDOW, SET PRERECORD, SET STRESCAPE, SET WP, STRTRAN(), SUBSTR(), TEXTEDIT()
Description
The MTOS() function converts the memo field <memofield> to a character data type. This function is particularly useful for modifying fields globally. If the specified <memofield> is empty, the MTOS() function returns a null string ("").
Example
set memoformat off string = mtos(notes) string = string + chr(10) + "AT" + date() +" " + time() replace notes with string
Products
Recital Server, Recital