1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
* Returns the list of characters that are not allowed in the file names
FUNCTION GetInvalidFileNameChars()
LOCAL lcInvalidFileNameChars, lnAsc
lcInvalidFileNameChars = [*/:<>?|\] + CHR(34)
FOR lnAsc=0 TO 31
lcInvalidFileNameChars = lcInvalidFileNameChars + CHR(lnAsc)
ENDFOR
RETURN lcInvalidFileNameChars
* Returns the list of characters that are not allowed in the path names
FUNCTION GetInvalidPathChars()
LOCAL lcInvalidPathChars, lnAsc
lcInvalidPathChars = [*:<>?|] + CHR(34)
FOR lnAsc=0 TO 31
lcInvalidPathChars = lcInvalidPathChars + CHR(lnAsc)
ENDFOR
RETURN lcInvalidPathChars
|
Comments
Additional invalid characters