enlist returns a list of the elements passed as an argument.so,enlist a
bcit should return me a list of 3 symbols. so, IMO count enlist
ab
cshould return 3.but, how does it return 1.q)enlist a
bca b candq)count enlist
ab
c1here, what is “a b c”? i mean which data type?i had expected it to returna
b`cand count to be 3.I am confused. please help.
enlist a
bcputs the argument (
ab
c) in a list. since the argument is a listalready, the result is a mixed listq)type enlist 1 2 30hq)type enlist a
bcc0hq)type enlist
a11hq)type enlist 16hOn Feb 25, 6:16?am, shatru <mitrasha…> wrote:> enlist returns a list of the elements passed as an argument.> so,> enlist a
bc> it should return me a list of 3 symbols. so, IMO count enlist
ab
c> should return 3.> but, how does it return 1.> q)enlist a
bc> a b c> and> q)count enlist
ab
c> 1> here, what is “a b c”? i mean which data type?> i had expected it to return> a
b`c>> and count to be 3.>> I am confused. please help.</mitrasha…>
Use (), instead of enlisttype (),a
bc11hcount (),
ab
c3type a-11htype (),
a11hOn Feb 25, 3:07?pm, hlivni <hagai.li…> wrote:> enlist a
bc> puts the argument (
ab
c) in ?a list. ?since the argument is a list> already, the result is a mixed list> q)type enlist 1 2 3> 0h> q)type enlist a
bcc> 0h> q)type enlist
a> 11h> q)type enlist 1> 6h>> On Feb 25, 6:16?am, shatru <mitrasha…> wrote:>> > enlist returns a list of the elements passed as an argument.> > so,> > enlist a
bc> > it should return me a list of 3 symbols. so, IMO count enlist
ab
c> > should return 3.> > but, how does it return 1.> > q)enlist a
bc> > a b c> > and> > q)count enlist
ab
c> > 1> > here, what is “a b c”? i mean which data type?> > i had expected it to return> > a
b`c>> > and count to be 3.>> > I am confused. please help.</mitrasha…></hagai.li…>