function GetNames(lpcAlias,lpcIntoCursor,lpcCondition) select (Upper(&lpcAlias..name)) as Name ; from &lpcAlias ; where &lpcCondition ; into cursor &pcIntoCursor endfunc && GetNamesIf I missed typed, I could get
select (Upper&lpcAlias..name)) as Name, ; from &lpcAlias ; where &lpcCondition ; into cursor &pcIntoCursorIn this case, a warning would be helpful, then correct it right there. Of course, the other side of the coin is that the warning could become very annoying unless an option is given to set the level of the warning.
m.name = "aaaa" >lcAlias = "(m" >? Upper&lcAlias..Name) >There's no need to use marcos in those cases.
Transform(EVAL(lcAlias + ".FileNumber")) >Upper(EVAL(lcAlias + ".Name"))>
>>Transform(&lcAlias..FileNumber >>Upper&lcAlias..Name) >>>>for the compiler to issue the programer a warning of some sort.
"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."
- Ephesians 4:29-30 NIV
Dare to Question -- Care to Answer
Time is like water in a sponge, as long as you are willing you can always squeeze some.
--Lu Xun, Father of Modern Chinese Literature