Find Jobs
Hire Freelancers

modify Fortran declarations

$30-5000 USD

进行中
已发布大约 19 年前

$30-5000 USD

货到付款
Write a Python or Perl script to group variable declarations in Fortran functions and subroutines so that (1) function or subroutine arguments appear before declarations of local variables. The function declaration itself (the data type it returns) should appear after the argument declarations, on its own line. (2) within the subgroups of arguments and local variables, declarations of variables of the same type are aggregated when possible. For example, the declarations real z integer i integer j real y(4) integer k(3) real x can be aggregated as integer i,j,k(3) real z,y(4),x A statement is a declaration in Fortran if the first word is real, integer, character, logical, or type(foo), where "foo" can be any word. A 'kind' attribute of the form (kind=n) can appear after the real, integer, character, or logical keyword, and it should be regarded as part of the data type, so that integer (kind=4) i integer (kind=8) j would not be aggregated but integer (kind=4) i integer (kind=4) j would be aggregated to integer (kind=4) i,j Do NOT aggregate any declarations for which a comment (denoted by a leading !) appears on the same line, so integer i integer num_days ! number of days integer j would be aggregated as integer i,j integer num_days ! number of days Put a comment line ! local variables after the declaration of the function and subroutine arguments and before declaring the local variables. More detail are in the attachment. ## Deliverables Code that runs with Python 2.4 OR Perl 5.0. ## Platform Windows XP, but should be written in portable Python or Perl.
项目 ID: 3584515

关于此项目

2提案
远程项目
活跃19 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
2威客以平均价$136 USD来参与此工作竞价
用户头像
See private message.
$212.50 USD 在7天之内
5.0 (620条评论)
7.7
7.7
用户头像
See private message.
$59.50 USD 在7天之内
4.6 (11条评论)
4.1
4.1

关于客户

UNITED STATES的国旗
Holliston, United States
5.0
16
会员自6月 3, 2002起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。