logo

Macro Programming Example 3

logo

Introduction
Screenshots
License/Download
Installation
Userinterface
Function Index
Macro Programming
Links
Community

mouse left
no help

#!/usr/bin/layout
#name=#3: Dialog
#help=User Dialog;

int main() {
string s=layout->getText("Hallo","Bitte Text eingeben:");
int i=layout->getInteger("Hallo","Bitte Int eingeben:");
double d=layout->getDouble("Hallo","Bitte double eingeben:");
layout->showMessage("Hallo",s+(i/d));
}

SourceForge.net LogoThis page may be outdated. Visit the new LayoutEditor homepage for the newest infomations!