# PN5_60965

Updated: 1/18/2022, 5:31:44 PM
Created: 1/18/2022, 5:31:44 PM
Last Updated By: dependabot[bot]
Read Time: 1 minute(s)

# Description

FORMLIST 0 TO var caused segmentation violation if run with an active select.

# Previous Release Behavior

On some older releases the syntax of FORMLIST nn TO var allowed an active list. This incorrect usage of FORMLIST but additionally caused the statement to abort if there was an active select list.

# Current Release Behavior

The compiler has been changed to generate a string constant variable to the underlying function.

Example program:

IF SYSTEM(11) THEN
    ACTIVE.LIST = 1
    FORMLIST 0 TO MY.LIST
END ELSE
    MY.LIST = ''
    ACTIVE.LIST = 0
END
1
2
3
4
5
6
7

Back to 5.7.6 Release Notes