Skip to content

Commit

Permalink
Sort procedures list
Browse files Browse the repository at this point in the history
  • Loading branch information
electroly committed Jan 22, 2024
1 parent 799516a commit 29de6a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/BuiltInProcedureList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ BuiltInProcedureList::BuiltInProcedureList() {
addFunction("Asin", { "x" }, { number }, number, SystemCall::kAsin);
addFunction("Atan", { "x" }, { number }, number, SystemCall::kAtan);
addFunction("Atan2", { "y", "x" }, { number, number }, number, SystemCall::kAtan2);
addFunction("BackColor", {}, {}, color, SystemCall::kBackColor);
addFunction("Ceil", { "x" }, { number }, number, SystemCall::kCeil);
addFunction("Characters", { "this" }, { string }, listOfString, SystemCall::kCharacters);
addFunction("Chr", { "input" }, { number }, string, SystemCall::kChr);
Expand All @@ -89,8 +90,6 @@ BuiltInProcedureList::BuiltInProcedureList() {
addFunction("CodeUnit", { "input" }, { string }, number, SystemCall::kCodeUnit1);
addFunction("CodeUnit", { "input", "index" }, { string, number }, number, SystemCall::kCodeUnit2);
addFunction("CodeUnits", { "input" }, { string }, listOfNumber, SystemCall::kCodeUnits);
addFunction("BackColor", {}, {}, color, SystemCall::kBackColor);
addFunction("ForeColor", {}, {}, color, SystemCall::kForeColor);
addFunction("Concat", { "strings" }, { listOfString }, string, SystemCall::kConcat1);
addFunction("Concat", { "strings", "separator" }, { listOfString, string }, string, SystemCall::kConcat2);
addFunction("Contains", { "set", "key" }, { setOfAny, generic1 }, boolean, SystemCall::kSetContains);
Expand Down Expand Up @@ -123,6 +122,7 @@ BuiltInProcedureList::BuiltInProcedureList() {
addFunction("Find", { "map", "key" }, { mapFromAnyToAny, generic1 }, optionalGeneric2, SystemCall::kMapFind);
addFunction("First", { "list" }, { listOfAny }, generic1, SystemCall::kListFirst);
addFunction("Floor", { "x" }, { number }, number, SystemCall::kFloor);
addFunction("ForeColor", {}, {}, color, SystemCall::kForeColor);
addFunction("FormTitle", { "form" }, { form }, string, SystemCall::kFormTitle);
addFunction("HasValue", { "this" }, { optionalAny }, boolean, SystemCall::kHasValue);
addFunction("Hour", { "input" }, { dateTime }, number, SystemCall::kDateTimeOffsetHour);
Expand Down

0 comments on commit 29de6a4

Please sign in to comment.