Difference between revisions of "OBJECTTYPE()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
==Class==
 
==Class==
Objects
+
Binary File Access
  
  
Line 46: Line 46:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Binary File Access]]
 +
[[Category:Binary File Access Functions]]

Revision as of 09:58, 2 June 2009

Class

Binary File Access


Purpose

Function to return object file extension


Syntax

OBJECTTYPE(<memofield>)


See Also

BINCREATE(), BINCLOSE(), BINOPEN(), BINREAD(), BINWRITE(), OBJECTREAD(), OBJECTWRITE()

Description

The OBJECTTYPE() function returns the file extension of the data stored in the memo field <memofield>. The following file types are supported:


File Extension Data
gif GIF Image
jpg JPG Image
au AU Sound
avi AVI Video
mov MOV Video


Example

objectread('brickwall.gif',IMAGES)
? objecttype(IMAGES)
gif


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer