Navigation:  Reference > Functions >

MakePath()

Print this Topic Previous pageReturn to chapter overviewNext page

 

MAKE_PATH(1,2)

 

PURPOSE

This function will make sure that the appropriate ending character is at the end of a file path.

 

PARTS

 

1 f/c/eRequired - The path to check.  Must be A type field.

 

2 f/c/eThe maximum length of the path field.  If you don't include this value the program will automatically set it to the length of the path currently plus 1.

 

RETURN TYPE - A

If the receiving field is too short, the remaining characters will be truncated.

 

SEE ALSO

PARSEFILE()

 

EXAMPLE

define x type a size 128

define y type a size 128

x = 'C:\ADV60'

y = make_path(x,size(x,'d'))

// y = 'C:\ADV60\'

 

 


Page url: http://www.cassoftware.com/tas/manual/makepath().htm