Purpose With Using you can assign a value to an InputScript parameter. Both a constant value and the name of a screen field are possible.  In the called InputScript you need a  Parameter command with the name specified in Using.
Example Pushbutton (toolbar) "Create" "CRE1" process="CreateOneStep.txt"
  
Using
Currency = "USD"
   Using Amount = [Amount2]

On "Enter"  process="CreateOneStep.txt"
  
Using
Currency = "USD"
   Using Amount = [Amount2]

On "/11" Fcode="/0" process="CreateOneStep.txt"
  
Using
Currency = "USD"
   Using Amount = [Amount2]

Here Currency gets the value "USD", Amount gets the value of the field F[Amount2].

Format Using pname = "Value"

Using pname = [fieldname]

Tips
& Tricks
  • Please note the difference:

    A: Using CC = "&F[Company Code]"

    B: Using CC = [Company Code]

    C: Using CC = "Company Code"

    D: Using CC = &F[Company Code]

    Assume that there is a field F[Company Code] on the screen with the value "0001", and that the user entered the value "5800". The parameter CC then has the following values:

    A: CC = "0001"

    B: CC = "5800"

    C: CC = "Company Code"

    D: CC = "0001" (same meaning as variant A)

    Normally only variant B makes sense.

Components GuiXT + InputAssistant