• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. 繁體中文
    4. Čeština
    5. Deutsch
    6. English (UK)
    7. Español
    8. Français
    9. Magyar
    10. Italiano
    11. 日本語
    12. 한국어
    13. Polski
    14. Português (Brasil)
    15. Русский
AutoCAD 2025 Developer and ObjectARX
    • Customization and Administration Guides
    • DXF Reference
    • AutoLISP and DCL
      • AutoLISP: Developer's Guide
      • AutoLISP: Reference
        • Functions Reference (AutoLISP)
        • AutoLISP Core Functions
          • Functions By Functionality
          • Non-alphabetic Functions
          • A Functions
          • B Functions
          • C Functions
          • D Functions
          • E Functions
          • F Functions
          • G Functions
          • H Functions
          • I Functions
          • L Functions
          • M Functions
          • N Functions
          • O Functions
          • P Functions
          • Q Functions
          • R Functions
          • S Functions
          • T Functions
            • tablet (AutoLISP)
            • tblnext (AutoLISP)
            • tblobjname (AutoLISP)
            • tblsearch (AutoLISP)
            • terpri (AutoLISP)
            • textbox (AutoLISP)
            • textpage (AutoLISP)
            • textscr (AutoLISP)
            • trace (AutoLISP)
            • trans (AutoLISP)
            • type (AutoLISP)
          • U Functions
          • V Functions
          • W Functions
          • X Functions
          • Z Functions
        • AutoLISP External Functions
        • DCL Reference
        • ActiveX Library Functions (Windows Only)
        • Express Tools Library Functions (AutoCAD for Windows Only)
        • Visual LISP IDE Related Functions (AutoCAD for Windows Only)
      • AutoLISP: Tutorials
    • ActiveX and VBA
    • ObjectARX and Managed .NET
    • JavaScript
    • AutoCAD Core Console
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    terpri (AutoLISP)

    Prints a newline to the command line

    Supported Platforms: Windows, Mac OS, and Web

    Signature

    (terpri)

    No arguments.

    Return Values

    Type: nil

    Always returns nil.

    Remarks

    The terpri function is not used for file I/O. To write a newline to a file, use prin1, princ, or print.

    Examples

    N/A

    Related Concepts

    • Display Control Functions Reference (AutoLISP)
    • About Displaying Messages (AutoLISP)

    Related Reference

    • princ (AutoLISP)
    • prompt (AutoLISP)

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved