Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] default arguments for UDOs in new syntax

Victor Lazzarini <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <[email protected]>
Defaults arguments are not implemented as far as I can see. 
This works - but I think it is a fluke.

opcode myop(var1:i,var2:p):void
print var1, var2
endop

Steven should be able to clarify. I’ll have a look at the code

========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 29 Jul 2025, at 19:14, joachim heintz <[email protected]> wrote:
> 
> *Warning*
> 
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> 
> in the old UDO syntax, we had opj etc for some default values of arguments.
> is there something in the new UDO syntax?
> i tried
>       opcode test(arg1:i=1,arg2:i=13):void
> but this did not work.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.