欢迎来到天天文库
浏览记录
ID:12416319
大小:37.00 KB
页数:9页
时间:2018-07-17
《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
此文档下载收益归作者所有