arc>   genprog menu example
7 example.menu
/*$ID: example.menu  v1.0  22.57.30  04/15/97 GENSPT  Hanming Tu
/* ----------------------------------------------------------------
/* Purpose:
/* ----------------------------------------------------------------
/* Called-by: N/A
/* Calls-to : example.aml
/*
/* ----------------------------------------------------------------
/* Platforms: Esri ArcInfo  7.0.4
/*            IBM/RS6000 AIX 4.1
/*
/* ================================================================
 
  %ok  %cancel   %help
  %disERR
 
%ok BUTTON KEEP ~
  HELP 'OK to run this program' ~
  'OK' &r %prg$aml% ok
%cancel BUTTON KEEP ~
  QUERY 'Cancel to close this menu' ~
  'Cancel' &r %prg$aml% cancel
%help BUTTON KEEP ~
  QUERY 'Get help about this menu' ~
  'Help' &r %prg$aml% help
%disERR DISPLAY .example$msg 60 VALUE
%FORMOPT SETVARIABLES RETURN
%FORMINIT &s prg$aml = example.aml; &r %prg$aml% init

Back to the paper