Help for this page

Select Code to Download


  1. or download this
    my @SupportedPTs = ('Accounting','Dnd','Essay','FITB','Hotspot','Match
    +ing','MC','Narrative','SingleAnswer','SelfGradingGeneric','Sketch','S
    +tatic','TF');
    my @ProblemTypes = ('Accounting','Dnd','test');
    ...
        print "$_ is not supported\n";
      }
    }
    
  2. or download this
    Accounting is not supported
    Dnd is not supported
    ...
    Sketch  is supported
    Static  is supported
    TF  is supported
    
  3. or download this
    for my $sPT (@SupportedPTs){
      if (! grep{/$sPT/} @ProblemTypes){
    ...
         print "$sPT is not supported\n";
       }
     }