Deletes a defined unit.
A string. The full name of the units to remove.
1 if successful, else 0.
defunits("Webers", "V*s", "Wb")
u1 = getvunits(w2);delunits("Webers")
u2 = getvunits(w3)
A new unit named Weber with the abbreviation of Wb Is defined. Any series with units of V*s will be reduced to Webers. Since the vertical units of W2 expand to V*s, variable u1 is set to Webers. Next, the units Webers is removed. Now the vertical units of W3 expands to V*s as reported by variable u2.
W1 contains a 100 point series. Although the vertical units are set to m/sec^2, the units are automatically converted to G. By deleting the G unit, the vertical units in W2 remain m/sec^2.
Both built-in and user defined units can be removed, however deleting a built-in unit is generally not recommended.
To change the definition of a built-in unit, use DEFUNITS to define a new unit with the same name as the built-in.