This shows you the differences between two versions of the page.
5250_as400_adaptor [2024/12/10 13:10] montse [Functions] |
5250_as400_adaptor [2024/12/10 13:11] (current) montse [Functions] |
||
---|---|---|---|
Line 34: | Line 34: | ||
* **readField(Field,Offset,Length):** this function reads a field that we define in the function parameters:\\ | * **readField(Field,Offset,Length):** this function reads a field that we define in the function parameters:\\ | ||
- | *Parameter Field: Position (numeric) where the field is located, it is visually counted on the screen, since it is not indicated anywhere.\\ | + | *Parameter Field: position (numeric) where the field is located, it is visually counted on the screen, since it is not indicated anywhere.\\ |
*Parameter Offset: by default the value is always 0, which indicates the first position of the field.\\ | *Parameter Offset: by default the value is always 0, which indicates the first position of the field.\\ | ||
*Parameter Length: length of the field we are going to read.\\ | *Parameter Length: length of the field we are going to read.\\ | ||
Line 52: | Line 52: | ||
* **waitForCursor:** this function waits for the cursor to appear on the screen we want to see next.\\ | * **waitForCursor:** this function waits for the cursor to appear on the screen we want to see next.\\ | ||
- | *Parameter timeinSeconds: Value -> time to wait until the cursor appears.\\ | + | *Parameter timeinSeconds: value -> time to wait until the cursor appears.\\ |
* **writeAftherLabel (Label, Text):** this function writes to the screen any text, **after** the label that we have defined in the Label parameter has been displayed (on the screen).\\ | * **writeAftherLabel (Label, Text):** this function writes to the screen any text, **after** the label that we have defined in the Label parameter has been displayed (on the screen).\\ |