Talk:Named parameters: Difference between revisions

→‎Algol68: new section
(→‎REXX examples: Great. Thanks.)
(→‎Algol68: new section)
Line 26:
 
::Hi Gerard. Thanks for taking the time to give me your answers. I asked because I was unsure if most REXX users seeing the solutions would consider them "too far from the mainstream" to consider using. Your explanation of the kind of documentation, and what programmers might routinely have to consider when reading/writing REXX have put put me straight on that. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 07:31, 3 July 2014 (UTC)
 
== Algol68 ==
 
The example does not compile on Algol 68 Genie 2.8:
<pre>
a68g Named_parameters.a68
28 print pet(())
1
a68g: error: 1: this vacuum cannot have row elements (use a REF [] UNION (OWNER, OPTBREED, OPTSPECIES,
OPTNAME) generator) (detected in collateral-clause starting at "(" in this line).
</pre>
But it works if the offending line is removed.
I cannot decide if this is a feature of algol 68 or a bug of the compiler.
Anonymous user