Greatest element of a list: Difference between revisions

m
→‎{{header|Euphoria}}: mistype corrected
(→‎{{header|Euphoria}}: added more trivial example)
m (→‎{{header|Euphoria}}: mistype corrected)
Line 376:
 
sequence s
s = {"ant", "antelope", "dog", "cat", "cow", "wolf", "wolverine", "aardvark"}
biggun = "ant"
a = aeval( s, routine_id("biggest") )
Line 401:
printf(1,"%d\n",get_biggest(numbers))
 
constant animals = {"ant", "antelope", "dog", "cat", "cow", "wolf", "wolverine", "aardvark"}
printf(1,"%s\n",{get_biggest(animals)})</lang>
 
Anonymous user