PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Extension (Property)
In french: Extension
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
..Extension is used to:
  • find out the extension of a data file defined in the data model editor or by programming.
  • define the extension of a data file (when the file is described by programming only).
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Find out the name and full path of Customer file
NameAndFullPath is string
NameAndFullPath = Customer..Directory + "\" + ...
Customer..PhysicalName + Customer..Extension
// NameAndFullPath corresponds to "C:\MyFiles\Customer.Fic"
// Define the extension of the AFile file
AFile is File Description
AFile..Name = "CUSTOMER"
AFile..Extension = ".AAA"
// The created file will be named "CUSTOMER.AAA"
Syntax

Finding out the extension of a data file Hide the details

<File extension> = <File name>..Extension
<File extension>: Character string
  • Extension of the data file used (preceded by a dot).
  • Empty string ("") if the data file has no extension.
<File name>: Character string (with or without quotes)
Name of data file used. This name was defined in the data model editor or by the File description type.

Defining the extension of a data file Hide the details

<File name>..Extension = <New extension>
<File name>: Character string (with or without quotes)
Name of data file used. This name was defined by the File description type.
<New extension>: Character string (with quotes)
Extension of the data file used (preceded by a dot).
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment