When I do Lint check on my skill code it gives following message:
line 90 (xpGetLayerUsed) : The 2nd argument has changed from d_libld to d_techFileld Your syntax was:lelsLayerValid(list((lpp->layerName) (lpp~>purpose))D The new syntax is: lelsLayerValid( I_layerPurposePair [d_techFileld])
Which function can return d_techFileld?
The first point is that this lint rule is very old - it dates (if my memory is correct) from the 4.3 to 4.4 migration activities back in around 1996. So any code is likely to have been fixed long ago. We later introduced a mechanism to indicate when functionality was changed which made it easy to filter out such messages if your code originated from later than the change - but that wasn't retrofitted everywhere. I am going to review all the old lint rules and ask for the ancient rules to be retired.
Secondly, this is talking about the second argument to leIsLayerValid which is optional and quite likely not used in your code - so nothing needs to be done in that case.
Finally, if you really do need to pass the second argument, you can get a tech file id with techGetTechFile() - either techGetTechFile(cvId) or techGetTechFile(ddGetObj("libName"))
Got it. Thanks!