Example: SaveSymbol
To save the selected group of objects in the active document as a symbol:
[SaveSymbol(0, "D:\Spicer\Image\Symbols\Star.sbl", "Star symbol (sbl)")]