| 查看: 1646 | 回复: 10 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
superstat54木虫 (小有名气)
|
[求助]
Fortran 怎么把字符串转换为表达式
|
|
| 比如从文件中读入这样一串字符 "100 + x*x"复制给a,"sin(x)"赋值给b,如果程序中x=0.5,怎么在程序中把这一串字符"a + b"转换为表达式100 + x*x + sin(x) ,并求出其值? |
» 猜你喜欢
招博士
已经有5人回复
青椒八年已不青,大家都被折磨成啥样了?
已经有6人回复
救命帖
已经有9人回复
青年基金C终止
已经有3人回复
26申博求博导推荐-遥感图像处理方向
已经有4人回复
限项规定
已经有7人回复
西南交通大学国家级人才团队2026年博士研究生招生(考核制)—机械、材料、力学方向
已经有3人回复
英文综述是否需要润色及查重
已经有5人回复
为什么nbs上溴 没有产物点出现呢
已经有9人回复
» 本主题相关价值贴推荐,对您同样有帮助:
怎么读取文本数据
已经有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人回复
7楼2012-03-20 14:27:28
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













回复此楼