comparison runtime/doc/eval.txt @ 1702:5232b9862f23 v7.2 v7.2.000

updated for version 7.2-000
author vimboss
date Sat, 09 Aug 2008 17:55:22 +0000
parents 9e1cefec84dd
children 5a7384b9ca66
comparison
equal deleted inserted replaced
1701:4577899b8ff1 1702:5232b9862f23
1 *eval.txt* For Vim version 7.2c. Last change: 2008 Jul 16 1 *eval.txt* For Vim version 7.2. Last change: 2008 Aug 09
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
4031 If {path} is "p" then intermediate directories are created as 4031 If {path} is "p" then intermediate directories are created as
4032 necessary. Otherwise it must be "". 4032 necessary. Otherwise it must be "".
4033 If {prot} is given it is used to set the protection bits of 4033 If {prot} is given it is used to set the protection bits of
4034 the new directory. The default is 0755 (rwxr-xr-x: r/w for 4034 the new directory. The default is 0755 (rwxr-xr-x: r/w for
4035 the user readable for others). Use 0700 to make it unreadable 4035 the user readable for others). Use 0700 to make it unreadable
4036 for others. 4036 for others. This is only used for the last part of {name}.
4037 This function is not available in the |sandbox|. 4037 Thus if you create /tmp/foo/bar then /tmp/foo will be created
4038 with 0755.
4039 Example: >
4040 :call mkdir($HOME . "/tmp/foo/bar", "p", 0700)
4041 < This function is not available in the |sandbox|.
4038 Not available on all systems. To check use: > 4042 Not available on all systems. To check use: >
4039 :if exists("*mkdir") 4043 :if exists("*mkdir")
4040 < 4044 <
4041 *mode()* 4045 *mode()*
4042 mode([expr]) Return a string that indicates the current mode. 4046 mode([expr]) Return a string that indicates the current mode.