mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-20 14:20:39 +01:00
[python] Add "input()" to the catalog
This commit is contained in:
committed by
EmilieNumworks
parent
67f082f4e8
commit
06bfaafb3b
@@ -50,6 +50,7 @@ PythonImportFromCmath = "Import cmath module"
|
||||
PythonImportFromKandinsky = "Import kandinsky module"
|
||||
PythonImportFromRandom = "Import random module"
|
||||
PythonImportFromMath = "Import math module"
|
||||
PythonInput = "Prompt a value"
|
||||
PythonInt = "Convert x to an integer"
|
||||
PythonIsFinite = "Check if x is finite"
|
||||
PythonIsInfinite = "Check if x is infinity"
|
||||
|
||||
@@ -50,6 +50,7 @@ PythonImportFromCmath = "Import cmath module"
|
||||
PythonImportFromKandinsky = "Import kandinsky module"
|
||||
PythonImportFromRandom = "Import random module"
|
||||
PythonImportFromMath = "Import math module"
|
||||
PythonInput = "Prompt a value"
|
||||
PythonInt = "Convert x to an integer"
|
||||
PythonIsFinite = "Check if x is finite"
|
||||
PythonIsInfinite = "Check if x is infinity"
|
||||
|
||||
@@ -50,6 +50,7 @@ PythonImportFromCmath = "Import cmath module"
|
||||
PythonImportFromKandinsky = "Import kandinsky module"
|
||||
PythonImportFromRandom = "Import random module"
|
||||
PythonImportFromMath = "Import math module"
|
||||
PythonInput = "Prompt a value"
|
||||
PythonInt = "Convert x to an integer"
|
||||
PythonIsFinite = "Check if x is finite"
|
||||
PythonIsInfinite = "Check if x is infinity"
|
||||
|
||||
@@ -50,6 +50,7 @@ PythonImportFromCmath = "Importation du module cmath"
|
||||
PythonImportFromKandinsky = "Importation du module kandinsky"
|
||||
PythonImportFromRandom = "Importation du module random"
|
||||
PythonImportFromMath = "Importation du module math"
|
||||
PythonInput = "Entrer une valeur"
|
||||
PythonInt = "Conversion en entier"
|
||||
PythonIsFinite = "Teste si x est fini"
|
||||
PythonIsInfinite = "Teste si x est infini"
|
||||
|
||||
@@ -50,6 +50,7 @@ PythonImportFromCmath = "Import cmath module"
|
||||
PythonImportFromKandinsky = "Import kandinsky module"
|
||||
PythonImportFromRandom = "Import random module"
|
||||
PythonImportFromMath = "Import math module"
|
||||
PythonInput = "Prompt a value"
|
||||
PythonInt = "Convert x to an integer"
|
||||
PythonIsFinite = "Check if x is finite"
|
||||
PythonIsInfinite = "Check if x is infinity"
|
||||
|
||||
@@ -51,6 +51,7 @@ PythonCommandImportCmath = "import cmath"
|
||||
PythonCommandImportKandinsky = "import kandinsky"
|
||||
PythonCommandImportRandom = "import random"
|
||||
PythonCommandImportMath = "import math"
|
||||
PythonCommandInput = "input(\"text\")"
|
||||
PythonCommandInt = "int(x)"
|
||||
PythonCommandIsFinite = "isfinite(x)"
|
||||
PythonCommandIsInfinite = "isinf(x)"
|
||||
|
||||
@@ -8,7 +8,7 @@ extern "C" {
|
||||
|
||||
namespace Code {
|
||||
|
||||
static constexpr int catalogChildrenCount = 93;
|
||||
static constexpr int catalogChildrenCount = 94;
|
||||
static constexpr int MathModuleChildrenCount = 43;
|
||||
static constexpr int KandinskyModuleChildrenCount = 7;
|
||||
static constexpr int CMathModuleChildrenCount = 13;
|
||||
@@ -195,6 +195,7 @@ const ToolboxMessageTree catalogChildren[catalogChildrenCount] = {
|
||||
ToolboxMessageTree(I18n::Message::PythonCommandImportKandinsky, I18n::Message::PythonImportKandinsky, I18n::Message::PythonCommandImportKandinsky),
|
||||
ToolboxMessageTree(I18n::Message::PythonCommandImportMath, I18n::Message::PythonImportMath, I18n::Message::PythonCommandImportMath),
|
||||
ToolboxMessageTree(I18n::Message::PythonCommandImportRandom, I18n::Message::PythonImportRandom, I18n::Message::PythonCommandImportRandom),
|
||||
ToolboxMessageTree(I18n::Message::PythonCommandInput, I18n::Message::PythonInput, I18n::Message::PythonCommandInput),
|
||||
ToolboxMessageTree(I18n::Message::PythonCommandInt, I18n::Message::PythonInt, I18n::Message::PythonCommandInt),
|
||||
ToolboxMessageTree(I18n::Message::PythonCommandIsFinite, I18n::Message::PythonIsFinite, I18n::Message::PythonCommandIsFinite),
|
||||
ToolboxMessageTree(I18n::Message::PythonCommandIsInfinite, I18n::Message::PythonIsInfinite, I18n::Message::PythonCommandIsInfinite),
|
||||
|
||||
Reference in New Issue
Block a user