Difference between revisions of "OBJECTTYPE()"

From Lianjapedia
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
==Syntax==
 
==Syntax==
OBJECTTYPE(<memofield>)
+
OBJECTTYPE(<object field>)
  
 
==See Also==
 
==See Also==
Line 9: Line 9:
  
 
==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 object field <object field>.   
 
+
{| class="wikitable"
+
!File Extension||Data
+
|-
+
|gif||GIF Image
+
|-
+
|jpg||JPG Image
+
|-
+
|au||AU Sound
+
|-
+
|avi||AVI Video
+
|-
+
|mov||MOV Video
+
|-
+
|}
+
  
 
==Example==
 
==Example==
Line 35: Line 20:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Binary File Access]]
+
[[Category:Object Storage Functions]]
[[Category:Binary File Access Functions]]
+
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Latest revision as of 08:28, 4 February 2013

Purpose

Function to return object file extension

Syntax

OBJECTTYPE(<object field>)

See Also

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

Description

The OBJECTTYPE() function returns the file extension of the data stored in the object field <object field>.

Example

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