Function : Log

LogAddNumberItem - Add a number to a log entry.
----------------------------------------------------------------------------------------------------------

#include <log.h>

STATUS LNPUBLIC LogAddNumberItem(
WORD LogEntry,
WORD Flags,
char far *ItemName,
NUMBER far *Number);

Description :

This function takes a log entry number, a lock entry flag, the name of the item, and the NUMBER value you wish to add to the log entry. It deletes any existing item with the same name before adding the new value.

Parameters :

Sample Usage :


  if (error_status = LogAddNumberItem(log_entry, LOG_LEAVE_LOCKED,
                        "DaysExecuted", (NUMBER *) &day_double))
      goto Exit;


See Also :

LogCreateEntry
----------------------------------------------------------------------------------------------------------