Initializing help system before first use

Annotations

The handling of model (schema) entities by Insight and certain global settings such as execution modes or unit conversions are configured via annotations to the Mosel model. The following Mosel model extract shows some examples of annotation definitions.

 !@insight.manage=input
 public declarations        ! All entities declared here are managed as input
  !@insight.alias Suppliers
  !@insight.descr Set of all suppliers
  SUPP: set of string
  DEP: set of string                !@insight.alias Depots
  DIST: array(SUPP,DEP) of real     !@insight.unit mile
 end-declarations

 ! The 'insight.units' or 'insight.execmodes' annotations must be stated as global
 ! annotations, so not immediately preceding 'declarations'

 ! Define a unit 'mile' with conversion rules for 'meter' and 'kilometer'

 (!@insight.units.mile.
   @name mile
   @abbreviation mi
   @conversion.meter.factor=1609.34
   @conversion.kilometer.scale=0.621373
  !)

 ! Define an execution mode 'analyzedata'

 (!@insight.execmodes.analyzedata.
   @descr Analyzing input data
   @clearinput false
   @threads 1
  !)

 case insightgetmode of
  "analyzedata": do
   loaddata
   analyzedata
  end-do
  INSIGHT_MODE_LOAD: do
   loaddata
  end-do
  !...                          ! Handling of other execution modes
 end-case

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.