| 查看: 1772 | 回复: 10 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
superstat54木虫 (小有名气)
|
[求助]
Fortran 怎么把字符串转换为表达式
|
|
| 比如从文件中读入这样一串字符 "100 + x*x"复制给a,"sin(x)"赋值给b,如果程序中x=0.5,怎么在程序中把这一串字符"a + b"转换为表达式100 + x*x + sin(x) ,并求出其值? |
» 猜你喜欢
药学硕士,第一、第二作者已发表6 篇 SCI,药理方向及相关方向2026年/2027年博士申请
已经有4人回复
26年博士申请自荐-电催化
已经有3人回复
中国地质大学(北京)博士招生补录,数理学院材料科学与工程专业和材料与化工专业
已经有6人回复
收到国自然专家邀请后几年才会有本子送过来评
已经有4人回复
考博
已经有5人回复
26年申博自荐-计算机视觉
已经有4人回复
药化及相关博士的申请
已经有3人回复
一篇MDPI论文改变了学习工作和生活
已经有4人回复
» 本主题相关价值贴推荐,对您同样有帮助:
怎么读取文本数据
已经有3人回复
Matlab 7.0 基础教程 清华大学
已经有29人回复
求教matlab中 读取文件名时去掉小数点的程序
已经有10人回复
fortran 程序文件名为变量 求救
已经有3人回复
关于C++中读取txt文件中字符串
已经有6人回复
C/C++开发专家:Visual C++代码参考与技巧大全
已经有89人回复
fortran中函数string(i:i)表示什么意思,trim()表示什么意思
已经有4人回复
fortran符号运算
已经有11人回复
fortran,带字符的数据读取与存储!
已经有11人回复
fortran中如何处理字符和数据混合的文件
已经有6人回复
一个华为编程大赛题
已经有16人回复
Python核心编程第二版【中文经典教程】
已经有377人回复
superstat54
木虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 3809.1
- 散金: 136
- 红花: 10
- 帖子: 256
- 在线: 146.8小时
- 虫号: 1327326
- 注册: 2011-06-20
- 专业: 催化化学
5楼2012-03-19 21:50:35
lurencyj
木虫 (著名写手)
- 应助: 159 (高中生)
- 金币: 2869.2
- 散金: 520
- 红花: 8
- 沙发: 10
- 帖子: 1244
- 在线: 148.3小时
- 虫号: 888093
- 注册: 2009-10-29
- 性别: GG
- 专业: 凝聚态物性I:结构、力学和

2楼2012-03-19 21:34:52
superstat54
木虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 3809.1
- 散金: 136
- 红花: 10
- 帖子: 256
- 在线: 146.8小时
- 虫号: 1327326
- 注册: 2011-06-20
- 专业: 催化化学
3楼2012-03-19 21:38:46
lurencyj
木虫 (著名写手)
- 应助: 159 (高中生)
- 金币: 2869.2
- 散金: 520
- 红花: 8
- 沙发: 10
- 帖子: 1244
- 在线: 148.3小时
- 虫号: 888093
- 注册: 2009-10-29
- 性别: GG
- 专业: 凝聚态物性I:结构、力学和
【答案】应助回帖
★
jjdg: 金币+1, 感谢参与 2012-03-21 01:43:23
jjdg: 金币+1, 感谢参与 2012-03-21 01:43:23
|
The USE statement has the syntax USE environment-name,filename where filename is optional, and is a character-valued expression. It causes the text of the named environment to be, in effect, placed in the program at the point where the USE statement was encountered, and the programs whose object code is in the environment to be callable from the program in which the USE statement is found, as well as (less usefully) from any other programs loaded into memory at the same time. In some implementations, because ENVIRONMENTs are incompatible with the available linkage loading mechanisms, the filename may be compulsory the first time a USE statement referring to environments in a given file is encountered, but not in subroutines, even externally compiled subroutines, later in the source stream. |

4楼2012-03-19 21:41:09












回复此楼