Icon+Unicon/Intro: Difference between revisions

m
m (→‎Keywords: spelling)
Line 786:
 
=== Procedure Parameter Type Casting ===
Unicon procedure definitions allow for specification of type coercion functions and default values. TheThere proceduresare maycurrently betwo arbitrary ones not restricted to simple type conversion.cases:
* for records and structures the type of the parameter is tested
* for types with type coercion functions (e.g. integer, real, numeric, string) the function is called to test type and perform type coercion.
<lang Unicon>
procedure f1(i:integer:1,r:real,s:string,n:numeric,S:set,L:list,x:mycoercionprocmyrecordtype)</lang>
 
=== Event monitoring and cross-co-expression introspection ===
Anonymous user