Difference between revisions of "AMI Script"

From 3forge Documentation
Jump to navigation Jump to search
Tag: visualeditor
Tag: visualeditor
Line 5: Line 5:
 
double dub = 12.0 + 13.0;
 
double dub = 12.0 + 13.0;
 
if (true)
 
if (true)
     session.alert("hey mir");
+
     layout.alert("hey mir");
 
else
 
else
 
     session.alert("not hey");
 
     session.alert("not hey");
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 20:21, 12 March 2021

FormRadioField frf = session.getPanel("there's no way");
tablepanel tp = session.getPanel("another one");
int num = 0;
double dub = 12.0 + 13.0;
if (true)
    layout.alert("hey mir");
else
    session.alert("not hey");