I have already shown you how to use myLib, but I will repeat. After you Set Procedure To MyLib, TimeToSeconds and SecondsToHour can be used just like they were internal VFP functions.
m.dae=SecondToHour( TimeToSeconds('34:20') + TimeToSeconds('36:40') + TimeToSeconds('71:10') + TimeToSeconds('66:10'))
To learn more about Set Procedure, I suggest you read Help for these topics:
SET PROCEDURE
FUNCTON
PROCEDURE
>hi,
>i do the same steps,and set procedure to mylib
>how i can use it at my program.
>
>you mean via vfp help i can learn (procedure file).
>
>
>
>>Hi Mohammed,
>>
>>I see that I wrote
Set Library when I ment to write
Set Procedure, sorry to confuse you. Set Library is used to add libraries written in other languages that foxpro, typically C or C++. So when I wrote Library, read Procedure. If you don't use any procedure file, I suggest you learn it, it will save you a LOT of time.