Jan 18
Jolle Carlestam Calling a types method dynamically
Jan 18, 2018; 10:57
Jolle Carlestam
Calling a types method dynamically
This code example doesn’t work. But I’m pretty sure I’ve seen ways to do it. Anyone with an working version?
define mytype => type {
public monday => 'Mundane'
public tuesday => 'Tuna day'
public wednesday => 'Why day'
public thursday => 'Thurstay'
public friday => 'Free day'
public saturday => 'Sad day'
public sunday => 'Sunky day'
}
local(mydays = (:
'tuesday',
'thursday'
'saturday'
))
with day in #mydays
select mytype->#day // <- This fails
Lasso 9.3ish
HDB
Jolle
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jan 18
Bil Corry Re: Calling a types method dynamically
Jan 18, 2018; 16:11
Bil Corry
Re: Calling a types method dynamically
Jan 19
Jolle Carlestam Re: Calling a types method dynamically
Jan 19, 2018; 04:45
Jolle Carlestam
Re: Calling a types method dynamically
Jan 19
Jolle Carlestam Re: Calling a types method dynamically
Jan 19, 2018; 05:16
Jolle Carlestam
Re: Calling a types method dynamically