Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl -w
    # retcode.pl
    ...
    my $retcode = $ARGV[0] || 0;
    print "Return code = $retcode\n";
    exit $retcode;
    
  2. or download this
    @echo off
    rem A Command file that uses conditional processing.
    ...
    
    :end_label
    echo Done!