Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
constant NAME = 1, COLOUR = 2
|
||||
function compare_names(sequence a, sequence b)
|
||||
return compare(a[NAME],b[NAME])
|
||||
end function
|
||||
function compare_colour(sequence a, sequence b)
|
||||
return compare(a[COLOUR],b[COLOUR])
|
||||
end function
|
||||
|
||||
sequence s
|
||||
s = { { "grass", "green" },
|
||||
{ "snow", "white" },
|
||||
{ "sky", "blue" },
|
||||
{ "cherry", "red" } }
|
||||
|
||||
?custom_sort(routine_id("compare_names"),s)
|
||||
?custom_sort(routine_id("compare_colour"),s)
|
||||
Loading…
Add table
Add a link
Reference in a new issue