| 查看: 1721 | 回复: 10 | ||
superstat54木虫 (小有名气)
|
[求助]
Fortran 怎么把字符串转换为表达式
|
| 比如从文件中读入这样一串字符 "100 + x*x"复制给a,"sin(x)"赋值给b,如果程序中x=0.5,怎么在程序中把这一串字符"a + b"转换为表达式100 + x*x + sin(x) ,并求出其值? |
» 猜你喜欢
一志愿南京航空航天大学 材料与化工329分求调剂
已经有7人回复
一志愿C9的化学工程(085602) 340分,感觉校内调剂无望,求调剂
已经有12人回复
312求调剂
已经有4人回复
材料专硕322
已经有9人回复
求调剂
已经有7人回复
085600材料与化工301分求调剂院校
已经有8人回复
一志愿 江南大学 085602 化工专硕 338分求调剂
已经有14人回复
070300化学学硕311分求调剂
已经有13人回复
材料调剂
已经有9人回复
一志愿河北工业大学材料工程,初试344求专硕调剂
已经有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人回复
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
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:结构、力学和

6楼2012-03-19 21:53:48
7楼2012-03-20 14:27:28
superstat54
木虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 3809.1
- 散金: 136
- 红花: 10
- 帖子: 256
- 在线: 146.8小时
- 虫号: 1327326
- 注册: 2011-06-20
- 专业: 催化化学
8楼2012-03-20 15:33:17
锐利的碎片
木虫 (正式写手)
star watcher
- 应助: 136 (高中生)
- 金币: 3637.1
- 散金: 252
- 红花: 22
- 帖子: 988
- 在线: 1224.9小时
- 虫号: 961933
- 注册: 2010-03-05
- 专业: 凝聚态物性 II :电子结构
9楼2012-03-20 18:33:57
10楼2012-03-20 21:09:09














回复此楼