Innov-AI
    Documentation | MentDB Weak Server
Create your first script

  • Click on the 'Add script button'
  • Here the generated script:
  • script create get|post|put|delete|conf|exe "folder.folder.your_script_name" false 1
      (param
      	(var "[v1]" {true} "description ..." is_null:true is_empty:true "10")
      	(var "[v2]" {type is_double [v2]} "description ..." is_null:true is_empty:true "20")
      )
      "description ..."
    {
    	
    	#Your MQL source code here...;
    	
    } "Return ...";
  • Select the methode 'exe' between: get|post|put|delete|conf|exe
  • Update the nane and the description in/out of the script
  • script create exe "math.addition" false 1
      (param
      	(var "[v1]" {true} "The number 1" is_null:true is_empty:true "10")
      	(var "[v2]" {type is_double [v2]} "The number 2" is_null:true is_empty:true "20")
      )
      "Make an addition ..."
    {
    	
    	#Your MQL source code here...;
    	+ [v1] [v2];
    	
    } "Return the result of the addition";
  • Click on one 'Execute' buttons
  • "Script added with successful.";
  • Click on 'DEVEL refresh' button
  • Your script is now visible into the script tree...
  • Right click on the 'math.addition.exe' and select 'Execute (clipboard)'
  • Your execution MQL source code is in the clipboard
  • Go to a new MQL page
  • and type [CTRL]+[V] (Paste)
  • execute "math.addition.exe"
    	"[v1]" "10"
    	"[v2]" "20"
    ;
  • Click on one 'Execute' buttons
  • "30";
Services     Supporters     Contact     About     Legal notice © 2024