Scripting › Web Option Scripting Control Values › Web Option Script Processing
Web Option Script Processing
When a script-execution button is selected:
- The page is submitted to the Web Option server
- The Web Option server updates the screen buffer of the application program with any data entered in the fields on the HTML page
- The Web Option server invokes the script-processor
- The script processor processes commands in the script, updating the screen buffer if necessary
- When a SEND command is found, the updated screen buffer is sent to the application program. When a response is received from the application program, the script processor retrieves the new screen buffer from the application program and continues updating the new screen buffer as necessary
- When a QUIT command is found, the script processor ends, the screen buffer is formatted into an HTML page and control is returned to the client.
- If a screen-error occurs as a result of script processing (such as a character value being entered into a numeric field, or an incorrect command key being pressed), script processing ends and the script-error processing occurs.