Difference between revisions of "OBJECTTYPE()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
|||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return object file extension | Function to return object file extension | ||
− | |||
==Syntax== | ==Syntax== | ||
OBJECTTYPE(<memofield>) | OBJECTTYPE(<memofield>) | ||
− | |||
==See Also== | ==See Also== | ||
− | [[BINCREATE()]], [[BINCLOSE()]], [[BINOPEN()]], [[BINREAD()]], [[BINWRITE()]], [[OBJECTREAD()]], [[OBJECTWRITE()]] | + | [[BINCREATE()]], [[BINCLOSE()]], [[BINOPEN()]], [[BINREAD()]], [[BINWRITE()]], [[OBJECTREAD()]], [[OBJECTSIZE()]], [[OBJECTWRITE()]] |
==Description== | ==Description== | ||
The OBJECTTYPE() function returns the file extension of the data stored in the memo field <memofield>. The following file types are supported: | The OBJECTTYPE() function returns the file extension of the data stored in the memo field <memofield>. The following file types are supported: | ||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 28: | Line 25: | ||
|- | |- | ||
|} | |} | ||
− | |||
==Example== | ==Example== | ||
Line 37: | Line 33: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Binary File Access]] | [[Category:Binary File Access]] | ||
[[Category:Binary File Access Functions]] | [[Category:Binary File Access Functions]] |
Revision as of 09:28, 14 November 2012
Contents
Purpose
Function to return object file extension
Syntax
OBJECTTYPE(<memofield>)
See Also
BINCREATE(), BINCLOSE(), BINOPEN(), BINREAD(), BINWRITE(), OBJECTREAD(), OBJECTSIZE(), 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