JVCL Help:BuildPathName

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Takes a directory (pathname) and a filename and puts them together to make a filename.

run\JvCsvParse.pas


Pascal

 run\JvCsvParse.pas
 functionBuildPathName(constPathName: AnsiString; constFileName: AnsiString): AnsiString;


Parameters

Parameters Description
const PathName: AnsiString A path name for the fully qualified filename you are creating (For example, 'C:')
const FileName: AnsiString A filename (For example, 'autoexec.bat')

run\JvCsvParse.pas


Description

Appends PathName + FileName, and places a backslash between them, only if necessary. This is a useful function because PathName may or may end in a backslash, and FileName may or may not begin with a backslash.

run\JvCsvParse.pas


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page