Subj : file modes
To : Scott Adams
From : Dan Egli
Date : Tue Jul 06 2004 12:02 am
Hey Scott,
05 Jul 04 21:05, you wrote to me:
SA> -=> 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
DE>> 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
DE>> help files for commands refferencing SHARE.EXE.
SA> Oh file locking! Ok. Yeah Swag has about 15 files on this very
SA> subject including a share unit in asm among others. If you
SA> don't have a copy of SWAG my website should have the link.
SA>
http://users.cybermax.net/~longshot (links page)
I have the swags, just forgot to look there.
-- Dan
--- FMail/Win32 1.60
* Origin: * Coming Soon! Telnet://thedungeon.dnsalias.net! (1:311/6)