Don't know if this is a bug or WAD, but I can't combine /f and /r when using setarray. According to the help for setarray, /f forces overwriting of an existing array (if any). However, if I try and use /f when reading from file into an existing array it fails.
In the commands below, test.txt and test2.txt are approx 30 line text files with about 12 characters on each line.
In the commands below, test.txt and test2.txt are approx 30 line text files with about 12 characters on each line.
Code:
TCC 20.11.38 x64 Windows 10 [Version 6.3.14393]
TCC Build 38 Windows 10 Build 14393
d:\>setarray /r test.txt Array1
d:\>setarray /f /r test2.txt Array1
TCC: Array variable is already defined "Array1"