LinkRead
Usage
• LinkRead[link]从指定MathLink连接中读一个表达式。
• LinkRead[link, h] wraps h around the expression read before evaluating it.
•LinkRead[link, h]把 h 包装在表达式外,在计算表达式之前读入读它。
Notes
• link 必须是一个活动的LinkObject,如同由LinkLaunch或Links的函数返回的那样。 • LinkRead 等待直到它在返回前读入一个完整表达式。 • 你可以用LinkReadyQ测试一个表达式是否准备好从一个特殊链接中读入。 • 可以用 LinkRead[link, Hold] 从一个链接中不计算而得到一个表达式。 • 参见 Mathematica 全书 : 节 2.12.6.
Further Examples
See the Further Examples for LinkLaunch.
|