Subj : Re: file modes To : Dan Egli From : Scott Adams Date : Mon Jul 05 2004 10:05 pm -=> Quoting Dan Egli to Scott Adams <=- CH>> How would you go about setting file modes in tp? CH>> Like CH>> fm_deny_read_write; CH>> fm_allow_read_write; CH>> filemode := ?? SA> This is done through the pascal file commands SA> Reset, Rewrite, Assign, Close, Etc. Append. DE> no, he means SHARE modes. The three standard modes for Share locking DE> are: deny NONE DE> Deny WRITE DE> Deny ALL DE> I'm not sure how that would be accomplished in TP. Look in your help DE> files for commands refferencing SHARE.EXE. Oh file locking! Ok. Yeah Swag has about 15 files on this very subject including a share unit in asm among others. If you don't have a copy of SWAG my website should have the link. http://users.cybermax.net/~longshot (links page) .... "And Vir, don't give away the homeworld." - Londo --- Fringe BBS * Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91) .