Hi
I inadvertently stumbled upon this strange 'bug' in my ioc.db
file
I had the following record:
record(subArray, "$(uid):attenuator")
{
field(INP, "$(uid):raw")
field(NELM, "9")
field(MALM, "9")
field(INDX, "9")
field(FTVL, "LONG")
# field(FLNK, "$(dd):getX")
}
Now the field 'FLNK' is commented out and I have
deleted my macro $(dd) in my substitution file.
When I run my IOC, I get the following warning
macLib: macro dd is undefined
(expanding string # field(FLNK, "$(dd)")
Warning: 'db/dbExample1.db' line 16
has undefined macros
So the comment (#) still evaluates the macro, even if the
documentation says it ignores the whole line. Of course if the
macro exist it runs without the warning.
Not a critical issue but can be misleading.
Thanks
Amien