Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
lprint - linear printing of expressions
Calling Sequence
lprint(expr1, expr2, ...)
Parameters
expr1, expr2, ...
-
any expressions
Description
The procedure lprint returns NULL and prints its arguments in a one-dimensional format.
The expressions expr1, expr2,..., each separated from the others by a comma and a space, are printed on a single line.
Like most procedures in Maple, the arguments to lprint are evaluated before being passed to the procedure.
In general, the printed form produced by lprint is valid Maple input.
Maple will print all expressions after normal evaluation using lprint if the interface variable prettyprint is set to .
The procedure lprint displays output as a side-effect, and returns NULL as the procedure value. Therefore the ditto commands, %, %% and %%%, will not recall the output from the lprint command.
The procedure lprint is intended for device independent printing and makes no use of special features of the user interface. For pretty-printing, using a two-dimensional output format, see print. For formatted output, see printf and fprintf.
Thread Safety
The lprint command is thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
Examples
3*x^2, x, Int(sin(x+y)/(x-y),x)
Arguments are evaluated before printing.
Si(x-y)*cos(2*y)+Ci(x-y)*sin(2*y)
Note: In command-line Maple, the output of lprint can be cut and paste into a Maple session while pretty-printed output cannot.
(x^4-y)/(y^2-3*x)
The interface setting of pretty print determines whether line printing or pretty-printing is used to display the results of normal evaluation.
See Also
fprintf, interface, print, printf, printlevel
Download Help Document