# (snvalid symbol \[flag\])
[GstarCAD 2012](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md)
<a id="269"></a>
## (snvalid symbol \[flag\])
---
Determine whether the symbol table has valid characters.
---
This function determines whether the symbol table contains valid characters. The *symbol* argument is the name of a table, including "LAYER", "LTYPE", "VIEW", "STYLE", "BLOCK", "UCS", "VPORT", "DIMSTYLE", and "APPID".
The *flag* argument toggles whether the vertical bar ( \| ) character is valid:
| Flag | Meaning |
| --- | --- |
| 0 | Vertical bar is not permitted. |
| 1 | Vertical bar is permitted. |
**Example**
| Code | Returns |
| --- | --- |
| (**snvalid** "A") | T |
**Tell me about...**
[(tblsearch table-name symbol \[flag\])](%28tblsearch%20table-name%20symbol%20-flag-%29.md)
[LISP Compatibility](../LISP%20Compatibility.md)
[Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md)
<a id="holding"></a>
## Other versions with matching text
[GstarCAD 2011](../../../../2011/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28snvalid%20symbol%20-flag-%29.md)