Function: dataframe_set_value

Functions are used within scripts to enable more powerful operations such as dynamic methods for parsing, arrays and data types.
User avatar
YiMeng
Author
Posts: 235
Joined: Sat Jul 18, 2020 10:58 pm
Location: NY
Contact:

Function: dataframe_set_value

Unread post by YiMeng »

Description
  • Sets a value to a cell/field in a data frame.

Parameters
  • w: The name of the data frame.
  • x: The row index of the data within the data frame. (First data row index is equal to 0.)
  • y: The column index of the data frame. (First data frame column index is equal to 0.)
  • z: The new value to be updated into the cell/field.

Usage
  • %dataframe_set_value&w&x&y&z%
  • Declare a dataframe then setting a value in a dataframe
    • DATAFRAME mydataframe = %DIALOG_FILE%
      SETVAR row = 0
      SETVAR col = 1
      SETVAR newData = Hello World!
      SETVAR _ = %dataframe_set_value&mydataframe&%row%&%col%&%newData%%