pfc fish语言 pfc手册fish翻译中英文

pfc fish语言 pfc手册fish翻译中英文

ID:12416319

大小:37.00 KB

页数:9页

时间:2018-07-17

pfc fish语言 pfc手册fish翻译中英文_第1页
pfc fish语言 pfc手册fish翻译中英文_第2页
pfc fish语言 pfc手册fish翻译中英文_第3页
pfc fish语言 pfc手册fish翻译中英文_第4页
pfc fish语言 pfc手册fish翻译中英文_第5页
资源描述:

《pfc fish语言 pfc手册fish翻译中英文》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、pfcfish语言PFC手册fish翻译中英文导读:就爱阅读网友为您分享以下“PFC手册fish翻译中英文”的资讯,希望对您有所帮助,感谢您对92to.com的支持!2FISHREFERENCE2.1IntroductionandOverview简介和概述ThissectioncontainsadetailedreferencetotheFISHlanguage.Followingtheintroduction,Section2.2describestherulesofthelanguageandhowvariablesandfunct

2、ionsareused.Section92.3explainsFISHstatementsandSection2.4describeshowtheFISHlanguagelinkswithPFC2D.Pre-definedFISHvariables,functionsandarraysaredescribedinSection2.5.这部分包含FISH语言的详细参考。接下来,2.2描述语言规则及如何运用变量和函数。2.3解释FISH陈述。2.4描述FISH语言如何与PFC联系在一起。2.5讲述如何预定义FISH变量、函数和数列。FISH

3、isaprogramminglanguageembeddedwithinPFC2Dthatenablestheusertodefinenewvariablesandfunctions.ThesefunctionsmaybeusedtoextendPFC2D’susefulnessoradduserdefinedfeatures.Forexample,newvariablesmaybeplottedorprinted,specialparticlegeneratorsmaybeimplemented,servo-controlmaybea

4、ppliedtoanumericaltest,unusualdistributionsofpropertiesmaybespecified,andparameterstudiesmaybeautomated.9FISH是PFC内置的一种编程语言,用户可以自定义变量和函数。这些函数可用来扩展PFC的功能,或者增加用户定义的特征。例如:输出或者打印新的变量、实现特殊的颗粒生成、数值测试中中应用伺服控制、定义特殊的颗粒分布以及自动研究参数。FISHisa―compiler‖(ratherthanan―interpreter‖).Program

5、senteredviaaPFC2Ddatafilearetranslatedintoalistofinstructions(in―pseudo-code‖)storedinPFC2D’smemoryspace;theoriginalsourceprogramisnotretainedbyPFC2D.WheneveraFISHfunctionisinvoked,itscompiledpseudo-codeisexecuted.Theuseofcompiledcode—ratherthaninterpretedsourcecode—enab

6、lesprogramstorunmuchfaster.However,unlikeacompiler,variablenamesandvaluesareavailableforprintingatanytime;valuesmaybemodifiedbytheuserbyusingPFC2D’sSETcommand.9FISH是一个编程员,而不是一个翻译员。通过PFC数据文件输入的程序转化成一连串命令(以“pseudo指令”的形式)储存在PFC的存储空间。PFC没有保留初始源程序。无论何时援引FISH函数,其编好的pseudo指令执行。

7、编好的指令—不是翻译好的源指令—的作用是使得程序更快的运行。然而,不像编程员那样,FISH在任何时间都可以打印变量的名字和数值,用户可以通过PFC中的SET命令修改数值。FISHprogramsaresimplyembeddedinanormalPFC2Ddatafile—linesfollowingthewordDEFINEareprocessedasaFISHfunction;thefunctionterminateswhenthewordENDisencountered.Functionsmayinvokeotherfunctio

8、ns,whichmayinvokeothers,andsoon.Theorderinwhichfunctionsaredefineddoesnotmatter,aslongastheyarealldefin

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。