{
  "synLogic": "int $ret = $api($1, $2);",
  "help": "The ns_save_string assigns the specified string to the NS parameter.To determine the value of the parameter, use the ns_eval_string api.",
  "notes": "",
  "returns": "int",
  "arguments": "\u003ctable class\u003d\"newGuiTable\" style\u003d\"width:100%\" \u003e \u003ctr\u003e \u003cth\u003e Argument \u003c/th\u003e  \u003cth\u003e Description \u003c/th\u003e \u003c/tr\u003e \u003ctr\u003e  \u003ctd\u003e Variable Value \u003c/td\u003e \u003ctd\u003e This argument represents the value of the parameter that you want to save. This can be a constant value or the value of a program variable. \u003c/td\u003e  \u003c/tr\u003e  \u003ctr\u003e   \u003ctd\u003e Variable Name \u003c/td\u003e  \u003ctd\u003e This argument represents the name of the parameter to which you want to save the value. \u003c/td\u003e   \u003c/tr\u003e \u003c/table\u003e",
  "parameterization": "You cannot use standard parameterization for any arguments in this function.",
  "name": "ns_save_string",
  "syntax": "int ns_save_string(const char* var_value, const char* var_name)",
  "javaSyntax": "int ns_save_string(final String var_value, final String var_name)",
  "jsSyntax": "ns_save_string(var_value: string, var_name: string)",
  "cEx": "flow()\n{\n  //This sets the value of NS parameter PhaseType to Rampup.\n  ns_save_string(\"Rampup\",\"PhaseType\");\n}",
  "javaEx": "public class flow implements NsFlow\n{\n  public int execute(NSApi nsApi) throws Exception\n  {\n    //This sets the value of NS parameter PhaseType to Rampup.\n    nsApi.ns_save_string(\"Rampup\",\"PhaseType\");\n  }\n}",
  "jsEx": "  //This sets the value of NS parameter PhaseType to Rampup.\n  nsApi.ns_save_string(\"Rampup\",\"PhaseType\");\n",
  "insertStrC": "ns_save_string(const char* var_value, const char* var_name);",
  "insertStrJava": "ns_save_string(final String var_value, final String var_name);",
  "insertStrJs": "ns_save_string(var_value: string, var_name: string);",
  "description": "Saves a string as a NS parameter.",
  "component": [
    {
      "id": "$1",
      "type": "TEXT_VAR",
      "label": "Variable Value",
      "labelVarCheckbox": "If Variable Value is a program variable.",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter value argument",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Text",
        "required": true
      }
    },
    {
      "id": "$2",
      "type": "Parameter",
      "label": "Variable Name",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "",
      "placeHolder": "select parameter to save value",
      "style": "",
      "quotes": true,
      "isDisabled": "",
      "list": [],
      "validate": {
        "required": true,
	"inputType": "Text"
      }
    },
    {
      "id": "$ret",
      "type": "TextField",
      "label": "Return Variable",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "First character must be Alpha.\r\nOther characters are Alpha, Numeric or Underscore",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Text",
	"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,63}$",
        "required": false,
        "method": "isValidVar(arg)"
      }
    }
  ]
}
