Skip to main content
Version: v4 (Stable)

Trace

Trace(Code AS Integer, Info AS String[, sStation AS String]) As Integer

Adds a line to the Alert event log.

The <Code> parameter defines the type of event:

  • 0 = event
  • 1 = normal
  • 2 = info
  • 3 = error

The <Info> parameter contains the information text for the event.

The optional parameter <sStation> defines the station concerned. By default, this is the main station.

Returns an error code (0 if no error).