WARNINGEXPIRATION not understood in FMPerform block when using variable index
FMPerform Revise Account (0, 0, ERRORTEXT)
Do
SET WARNINGEXPIRATION:(i) TO '--/--/----'
End
Gives error:
Cannot find variable 'WARNINGEXPIRATION'
FMPerform Revise Account (0, 0, ERRORTEXT)
Do
SET WARNINGEXPIRATION:(i) TO '--/--/----'
End
Gives error:
Cannot find variable 'WARNINGEXPIRATION'
Comments6
Jul 19, 2025
PinnedThis rolled out yesterday in
v1.4.1Jun 9, 2025
PinnedReviewing but unable to reproduce with the block given.
May 26, 2025
PinnedWe’ll get this fixed.
Dylan Martinez
Jun 4, 2025
I just took a look at this, could you send in a simplest case PO that reproduces it? I think it’s an edge case somehow b/c using the block from the description I wasn’t able to reproduce.
Also, just some added context here - at the moment, we basically just do a pattern match to skip diagnostics for FM Perform blocks while we work on our parser. Once we have the parser, we’ll be able to do static code analysis in real time and have it be immediately relevant :)
An Anonymous User
Jun 12, 2025
I just tried again and now warningexpiration:(i) is fine, but warningstatus:(foo(i)) claims var not found.
windows target = account define err = character foo = number array(1) i = number end print title = "PV.TEST" fmperform revise account (0, 0, err) Do SET warningexpiration:(foo(i)) TO '--/--/----' End endDylan Martinez
Jul 7, 2025
Okay sweet, I was able to reproduce & I’ll get it patched. Thanks for reporting!