Macro Example 3
This example shows simple user dialogs in macros.
Download: Sample3.layout
   1 #!/usr/bin/layout
   2 #name=#3: Dialog
   3 #help=User Dialog;
   4 
   5 int  main() {
   6  string s=layout->getText("Hallo","Bitte Text eingeben:","test");
   7  int i=layout->getInteger("Hallo","Bitte Int eingeben:", 3 );
   8  double d=layout->getDouble("Hallo","Bitte double eingeben:", 4.6 );
   9  layout->showMessage("Hallo",s+(i/d));
  10 }
