Csound Csound-dev Csound-tekno Search About

[Csnd-dev] about m and z variables

Date2025-12-27 19:12
Fromjoachim heintz
Subject[Csnd-dev] about m and z variables
in Engine/entry.c is written:
    m       begins an indef list of iargs (any count)
    z       begins indef list of kargs (any count)

i was today looking at the OENTRY of event and event_i which are:
   { "event", S(LINEVENT),0,        "",     "Skz",  NULL, event_opcode, 
NULL   }
   { "event_i", S(LINEVENT),0,     "",     "Sim",  event_opcode_i, NULL, 
NULL, NULL, 2  }

why was event_i accepting ("e",1) as arguments, but not event?
both argument list look the same: Skz and Sim.
is "any count" different for m and z (can be zero for m, but not for z)?

thanks -
	joachim

Date2025-12-27 20:02
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] about m and z variables
Looks like it's any count > 0 for z.


Prof. Victor Lazzarini
Maynooth University
Ireland

> On 27 Dec 2025, at 19:12, joachim heintz  wrote:
> 
> in Engine/entry.c is written:
>   m       begins an indef list of iargs (any count)
>   z       begins indef list of kargs (any count)
> 
> i was today looking at the OENTRY of event and event_i which are:
>  { "event", S(LINEVENT),0,        "",     "Skz",  NULL, event_opcode, NULL   }
>  { "event_i", S(LINEVENT),0,     "",     "Sim",  event_opcode_i, NULL, NULL, NULL, 2  }
> 
> why was event_i accepting ("e",1) as arguments, but not event?
> both argument list look the same: Skz and Sim.
> is "any count" different for m and z (can be zero for m, but not for z)?
> 
> thanks -
>    joachim

Date2025-12-27 21:08
Fromjoachim heintz
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] about m and z variables
yes looks like this.
where are these types defined?
i looked a bit but could not find it in the sources.

On 27/12/2025 21:02, Victor Lazzarini wrote:
> Looks like it's any count > 0 for z.
> 
> 
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
>> On 27 Dec 2025, at 19:12, joachim heintz  wrote:
>>
>> in Engine/entry.c is written:
>>    m       begins an indef list of iargs (any count)
>>    z       begins indef list of kargs (any count)
>>
>> i was today looking at the OENTRY of event and event_i which are:
>>   { "event", S(LINEVENT),0,        "",     "Skz",  NULL, event_opcode, NULL   }
>>   { "event_i", S(LINEVENT),0,     "",     "Sim",  event_opcode_i, NULL, NULL, NULL, 2  }
>>
>> why was event_i accepting ("e",1) as arguments, but not event?
>> both argument list look the same: Skz and Sim.
>> is "any count" different for m and z (can be zero for m, but not for z)?
>>
>> thanks -
>>     joachim

Date2025-12-27 21:27
Fromvlz
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] about m and z variables
Deep inside the type system and parser

> On 27 Dec 2025, at 21:08, joachim heintz  wrote:
> 
> yes looks like this.
> where are these types defined?
> i looked a bit but could not find it in the sources.
> 
> On 27/12/2025 21:02, Victor Lazzarini wrote:
>> Looks like it's any count > 0 for z.
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>>> On 27 Dec 2025, at 19:12, joachim heintz  wrote:
>>> 
>>> in Engine/entry.c is written:
>>>   m       begins an indef list of iargs (any count)
>>>   z       begins indef list of kargs (any count)
>>> 
>>> i was today looking at the OENTRY of event and event_i which are:
>>>  { "event", S(LINEVENT),0,        "",     "Skz",  NULL, event_opcode, NULL   }
>>>  { "event_i", S(LINEVENT),0,     "",     "Sim",  event_opcode_i, NULL, NULL, NULL, 2  }
>>> 
>>> why was event_i accepting ("e",1) as arguments, but not event?
>>> both argument list look the same: Skz and Sim.
>>> is "any count" different for m and z (can be zero for m, but not for z)?
>>> 
>>> thanks -
>>>    joachim