General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
>Hi Experts,
>
>When you use the low level command eg FCREATE(), eg nHandle=FCREATE('Textfile.Txt') it creates the file named "Textfile.txt" and nHandle holds the handle Number. Assuming nHandle ends up being 22, Is there a direct way of knowing that the handle 22 relates to file "Textfile.txt' ?
AFAIK no. But you can write a class coupling FName with nHandle as properties and use accordingly.
>I know that these File handle Numbers and the respective files are visible in the DISPLAY STATUS output.
>
>I need this to track log-ins in my application.
Would a table logging log-ins not be a better idea? Has been used extensively and offers right off the bat multiple fields if you need them. Don't try to reinvent the wheel, build on existing and debugged concepts and code.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only