Mathematica > 核心语言 > 过程式编程 > 程序中的基本输入和输出 >
程序中的基本输入和输出
Mathematica 标准的笔记本界面中,您可以直接输入并在每次按下 Shift+"Enter" 获得输出. 尽管较原始语言很少需要更多设置,Mathematica 同样使您在计算过程中获取输入和产生输出.
Print 打印任意表达式,包括图形,作为输出
PrintTemporary 临时打印,在计算完成后清除
"string" (String ▪ Row  ▪ Column  ▪ ...
    
Input, InputString 建立一个对话框要求输入表达式或字符串
    
Pause  ▪ Beep  ▪ EmitSound
    
Import, Export 导入和导出数百种格式
OpenWrite  ▪ OpenRead  ▪ Write  ▪ Read  ▪ ReadList  ▪ ...
教程
更多关于
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
格式:   HTML  |  CDF