Version 12: Blockly.Variables.deleteVariable verwenden
Löscht eine Variable anhand der übergebenen ID und alle ihre Verwendungen aus diesem Arbeitsbereich. Der Nutzer wird möglicherweise um Bestätigung gebeten.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["The `deleteVariableById` method removes a variable and all its uses from the workspace based on the provided ID."],["This method may require user confirmation before permanently deleting the variable."],["It accepts a single parameter, `id`, which is a string representing the unique identifier of the variable to be deleted."],["The method does not return any value (void)."]]],[]]