[fpc-pascal] Named optional arguments

Ryan Joseph genericptr at gmail.com
Sun Nov 28 03:03:17 CET 2021



> On Nov 27, 2021, at 5:03 PM, Sven Barth <pascaldragon at googlemail.com> wrote:
> 
> candidates:=tcallcandidates.create(sym:=symtableprocentry, st:=symtableproc,ppn:=left, ignorevisibility:=ignorevisibility,allowdefaultparas:=not(nf_isproperty in flags),objcidcall:=cnf_objc_id_call in callnodeflags,explicitunit:=cnf_unit_specified in callnodeflags,searchhelpers:=callnodeflags*[cnf_anon_inherited,cnf_inherited]=[], anoninherited:=cnf_anon_inherited in callnodeflags,spezcontext:=spezcontext);
> 
> So you've gained *nothing*.

I wouldn't say nothing but it's still really hard to read. My only thought there was that it would open the door for some syntax coloring on the parameter name so you can scan them easier.

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list