Notational equivalent of Define list

Kelly Burgess kellyb at montana.com
Thu Apr 15 20:40:32 UTC 2021


Hi Greg,

>Define list {acct,-acct.seq}
>
>the code I would like to re-write as "one liner" notational equivalent defines the list from file class by ommitiing the sequence field name.

Who doesn't like a one-liner challenge?  Try this:

   Do vLst.$define('acct')+vLst.$cols.$remove(vLst.$cols.$findname('seq'))

Kelly


More information about the omnisdev-en mailing list