AddAnnotation Example

Java

import Rational.PureAPI;

 

class AnnotationClass

{

   public static void main(String args[])

   {

      PureAPI.AddAnnotation("PureAPI enabled test on 11/10/99.");

      //The preceding function makes an annotation in
      //the log file for the program run

   }

}

C#

using System;

using Rational;

 

class AnnotationClass

{

   public static void Main()

   {

      PureAPI.AddAnnotation("PureAPI enabled test on 11/10/99.");

      //The preceding function makes an annotation in
      //the log file for the program run

      }

}

(C) Copyright IBM Corporation 1993, 2009.