• Skip to content
  • Skip to primary sidebar
  • Skip to footer

CadOasis

Ease Your CAD Software Experience !

Main navigation

  • Home
  • Training
  • Solutions
  • Services
  • Support
  • My Account
  • Log In
Home » Display Controls

November 15, 2014 By CadOasis

Display Controls

1. Prin1 This function prints only expression and return in command line. Displays strings enclosed in quotation marks. Only expression is printed, New line is not added with \n (prin1 [expression [file_descriptor]]) Ex. (prin1 “Check this \n”) “Check this \n””Check this \n” 2. Princ Here  characters  ” ” are not printed.. (princ [expression [file_descriptor]]) Ex. : (princ “Check this \n”) Check this “Check this \n” 3. Print strings enclosed in quotation marks but places a blank line before the expression and a space afterward. (print [expression [file_descriptor]]) Ex. : (print “Check this \n”) “Check this \n” “Check this \n” 4. Prompt (prompt message) (prompt “This is LISP”) This function is used to print message in command line. To print message on next line use (terpri). 5. terpri: This function is used to display output on next line. Mostly used…

This content is for 1. DraftSight Premium Membership [CadOasis] members only.
Log In Register

Filed Under: AutoCAD Automation, DraftSight Automation Tagged With: AutoLISP, DraftSight LISP, LISP



Reader Interactions

Primary Sidebar

Current User Progress




Categories

Tags

Annotation API AutoLISP Blocks BOM Table Commands Customization Dimension DraftSight DraftSight 2015 DraftSight 2017 DraftSight API DraftSight C# DraftSight LISP DraftSight Script DraftSight V1R5.0 DraftSight VB.Net DraftSight VBA Draw Excel VBA file Format General Guest Author LISP Macro Modify News Options Print Productivity Revision Table script Sketching SolidWorks API SolidWorks Macro SolidWorks VBA Standards Table Toolbox Tools Troubleshooting User interface view Whats New

Footer

  • About Us
  • CAD Software
  • CadOasis Store
  • Contact Us
  • Advertise
  • Links
  • Disclaimer
  • Privacy Policy
  • Terms and Services
Creative Commons License
CadOasis.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

© Copyright 2014-2018 CadOasis Solutions · All Rights Reserved ·