PRODUCTS
Mathematica
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Certified Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Wolfram Blog
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Systems Interfaces & Deployment
>
MathLink API
>
MathLink Mathematica Functions
>
MathLink Packets
>
Built-in
Mathematica
Symbol
MathLink and External Program Communication
Tutorials »
|
MathLink Packets
More About »
TextPacket
TextPacket
[string]
is a
MathLink
packet containing
string
, the text output from
Mathematica
as produced by functions such as
Print
.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Launch a subsidiary
Mathematica
kernel process:
In[1]:=
Out[1]=
Read the first packet:
In[2]:=
Out[2]=
Write a packet representing the text to enter:
In[3]:=
The result from the evaluation is a
TextPacket
:
In[4]:=
Out[4]=
Close the link:
In[5]:=
TUTORIALS
MathLink
and External Program Communication
MORE ABOUT
MathLink Packets
New in 3
© 2008 Wolfram Research, Inc.