I wish to expand a macro in an include directive (to determine the file name). I have something like
#:set FILENAMES = ['file', 'anotherfile']
#:for FILE in FILENAMES
! some code
! now include a file
#:include "${FILE}$.fypp"
! more code
#:endfor
This does not work, and fypp returns "include file '${FILE}$.fypp' not found". Is it possible to accomplish this? Thanks.