# LISP Compatibility [GstarCAD 2012](../../Index.md) → [Developer Reference](../%28Developer%20Reference%29.md) → [AutoLISP Reference](%28AutoLISP%20Reference%29.md) <a id="100"></a> ## LISP Compatibility <a id="318"></a> ### Functions Unique to GstarCAD® LISP The following functions are unique to the implementation of LISP included with GstarCAD®: | Function | Comments | | --- | --- | | [Lpad](LISP%20Functions/%28lpad%20string%20integer%29.md) | Pads a text string with spaces to the left. | | [Rpad](LISP%20Functions/%28rpad%20string%20integer%29.md) | Pads a text string with spaces to the right. | | [Tan](LISP%20Functions/%28tan%20angle%29.md) | Returns the tangent. | | [Trim](LISP%20Functions/%28trim%20string%20-flag-%29.md) | Trims spaces from a string. | <a id="319"></a> ### LISP-Compatible Functions with Enhanced Features The following LISP functions in GstarCAD have enhanced features. [Osnap](LISP%20Functions/%28osnap%20point%20mode%29.md) in GstarCAD supports these additional entity snap modes: | Mode | Meaning | | --- | --- | | "po" | POint | | "pla" | PLAnview (2D intersection) | | "vis" | VISible (apparent intersection) | The functions [ssget](LISP%20Functions/%28ssget%20-mode-%20-point1%20-point2-%20-point-list-%20-filter-list-%29.md) and[ssadd](LISP%20Functions/%28ssadd%20-entity-name%20-selection-set-%29.md) in GstarCAD recognize these additional selection set parameters: | Mode | Meaning | Points | Example | | --- | --- | --- | --- | | "CC" | Crossing Circle | point1 point2 | (ssget "CC" '(1 1\) '(2 2)) | | "O" | Outside | points-list | (ssget "O" ptlist) | | "OC" | Outside Circle | point1 point2 | (ssget "OC" '(1 1\) '(2 2)) | | "OP" | Outside Polygon | points-list | (ssget "OP" ptlist) | | "PO" | POint | point1 | (ssget "PO" '(1 1)) | <a id="320"></a> ### Functions Partially Compatible with LISP in Other CAD Systems The following function is partially compatible with the LISP found in other CAD systems: | Function | Comments | | --- | --- | | | GstarCAD supports P0 (cursor menu) and P1 through P16 (the pulldown menus). GstarCAD does not support A (aux menus), B (button menus), I (icon menus), M (diesel expressions), S (screen menu), or T (tablet menus). | <a id="321"></a> ### Functions Not Supported by GstarCAD GstarCAD does not support the following functions found in other CAD systems: arx, arxload, arxunload, autoarxload, dictadd, dictnext, dictremove, dictrename, dictsearch, entgetx, initdia, namedobjdict, ssnamex, and tablet. **Tell me about...** <a id="holding"></a> ## Other versions with matching text [GstarCAD 2011](../../../2011/Developer%20Reference/AutoLISP%20Reference/LISP%20Compatibility.md)