Notational equivalent of Define list

Grzegorz (Greg) Pasternak gpasternak at cogeco.ca
Fri Apr 16 01:50:28 UTC 2021


Kelly;

That works, thank you.
Though I must say that I was hoping for some hidden "feature" that would be part of $define(), but that will do.

Greg



> On Apr 15, 2021, at 4:40 PM, Kelly Burgess <kellyb at montana.com> wrote:
> 
> 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
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list