Nazwa zmiennej. Musi być unikalny wśród zmiennych i procedur.
opt_type
string | null
(Opcjonalnie) Typ zmiennej, np. „int” lub „string”. Nie musi być unikalny. Pole Field_variable może filtrować zmienne na podstawie ich typu. Domyślnie jest to „'”, co jest konkretnym typem.
opt_id
string | null
(Opcjonalnie) Unikalny identyfikator zmiennej. Domyślnie jest to identyfikator UUID.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-05-16 UTC."],[[["The `createVariable()` method creates a new variable within the Blockly Workspace with a specified name, optional type, and ID."],["Variable names must be unique, while types can be shared and are used for filtering; IDs are auto-generated if not provided."],["The method returns a `VariableModel` object representing the newly created variable, allowing further manipulation."]]],[]]