| 查看: 1594 | 回复: 10 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
superstat54木虫 (小有名气)
|
[求助]
Fortran 怎么把字符串转换为表达式
|
|
| 比如从文件中读入这样一串字符 "100 + x*x"复制给a,"sin(x)"赋值给b,如果程序中x=0.5,怎么在程序中把这一串字符"a + b"转换为表达式100 + x*x + sin(x) ,并求出其值? |
» 猜你喜欢
博士读完未来一定会好吗
已经有6人回复
小论文投稿
已经有3人回复
Bioresource Technology期刊,第一次返修的时候被退回好几次了
已经有9人回复
心脉受损
已经有3人回复
到新单位后,换了新的研究方向,没有团队,持续积累2区以上论文,能申请到面上吗
已经有8人回复
申请2026年博士
已经有6人回复
请问哪里可以有青B申请的本子可以借鉴一下。
已经有5人回复
2025冷门绝学什么时候出结果
已经有7人回复
» 本主题相关价值贴推荐,对您同样有帮助:
怎么读取文本数据
已经有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人回复
10楼2012-03-20 21:09:09
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













回复此楼