insightsetappid
| insightsetappid | 
  Purpose
 
 
  Sets the value to use for the application ID during a test.
 
 
  Synopsis
 
 procedure insightsetappid(newappid:text)
 
  Argument
 
 | 
     newappid 
     | 
     The string to use for the application ID
     | 
  Example
 
 insightsetappid('xyzzy')
writeln('app id = ',insightgetappid)
 Demonstration of setting the application ID then outputting it
 
 
  Further information
 
 
 1. Used to mock the Insight application state when testing code outside of an Insight scenario.
 
 
 2. Without calling this function,
 insightgetappid will return an empty string in test mode.
 
 
 3. Calling this procedure when
 insight_testmode is
 false will cause the model to abort with a runtime error.
 
 
  Related topics
 
  
