-
djabaay authored
* Updating the %getString function. Description: Originally, the function would only return a string for scalar values, and the developer was responsible for selecting the correct %getString* subroutine depending on the parameter type being converted, whether a scalar, 1-D, 2-D, or 3-D array. This change allows the developer to use the scalar %getString function for any dimension of parameter. * Adding unit tests for the updated %getString routine. * Prune the ending ',' when writing the arrays. * Replacing integer writes with calls to function str(integer). * Changing the default delimiter to be ;. Updating tests. * Addressing Yuxuan's comments. Description: Removing commented out code. Adding subroutine descriptions. Removing optional delim argument. Updating comments and replacing getSubstring with %substr() CASL Ticket # - N/A * Fixing SELECTTYPE indentation Description: CASL Ticket # - N/A * Addressing review comments. Updating error messages, unit test assertions. Description: CASL Ticket # - N/A * Other review comments. Fixing comment descriptions, updated assertions. Description: CASL Ticket # - N/A * Changing the delimeter from ";" to surrounding '"'s Description: This change is primarily for better interoperability with the getField() subroutine. In this manner, each entry from a multi-dimensional array is added to the scalar string as a separate field. CASL Ticket # - PHI 6173 * Deleting unused variable. Description: CASL Ticket # - PHI 6173
fa37ca38