Difference between revisions of "OBJECTTYPE()"

From Lianjapedia
Jump to: navigation, search
 
m (1 revision)
(No difference)

Revision as of 05:56, 25 October 2011

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, Recital Server