Version 12: Verwenden Sie Blockly.Workspace.getVariableMap().deleteVariable.
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-05-16 (UTC)."],[[["The `deleteVariableById` method removes a variable and its uses from the workspace based on the provided ID."],["This method may require user confirmation before deleting the variable."],["The method accepts a single parameter: `id` (string) representing the unique identifier of the variable to be deleted."],["`deleteVariableById` does not return any value (void)."]]],[]]