首页> 外文会议>Conference proceedings on APL as a tool of thought >Techniques for avoiding conditional execute in APL2
【24h】

Techniques for avoiding conditional execute in APL2

机译:APL2中避免条件执行的技术

获取原文
获取原文并翻译 | 示例

摘要

Execute ( ) is unique among the APL2 primitive functions in that it is the only one which does not necessarily produce an explicit result. This makes it convenient for executing an APL expression conditionally. Execute is also unique in that it is the only symbolic primitive which permits only a character argument. This tends to produce awkward programming.This paper will look at ways to avoid the use of conditional execute by suggesting alternate methods and ways of thinking which are unique to APL. These methods have been used to great advantage in production code.Most examples of code used in this paper have been taken from an actual APL2 application. Although most of the examples are in APL2, many will work in other APL dialects. Some minor modifications have been made to the code in the interests of security and clarity. Most of these involved changing the names of some functions or variables.
机译:Execute()在APL2原语函数中是唯一的,因为它是唯一不必产生显式结果的函数。这使得有条件地执行APL表达式变得很方便。 Execute也是唯一的,因为它是唯一仅允许使用字符参数的符号原语。这倾向于产生笨拙的编程。本文将通过建议APL独有的替代方法和思维方式,来研究避免使用条件执行的方法。这些方法已在生产代码中得到了极大的利用。本文中使用的大多数代码示例均来自实际的APL2应用程序。尽管大多数示例都在APL2中使用,但许多示例仍可以在其他APL方言中使用。为了安全和清晰起见,对代码进行了一些小的修改。其中大多数涉及更改某些函数或变量的名称。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号