Question:
How is file locking handled in Clipper?
Answer:
if flock()=.T. then else endif Source: CoolInterview.com
Function fil_lock() Parameters wait private forever if flock() return (.t.) endif forever=(wait=0) do while (forever .or. wait > 0) inkey(.5) if flock() return (.t.) endif enddo return (.f.)
Source: CoolInterview.com
Answered by: Manoj Kashiwale | Date: 11/26/2008
| Contact Manoj Kashiwale
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|