这些事件例程定义与例程定义类似;值似乎作为输入参数接收,并以任何一种常规形式描述。事件不能有yielding参数,因为它们不是直接从其他子程序调用的,因此没有地方可以将这些值返回。参数值传递到事件和进程例程的方式将在后面讨论。事件例程定义的一般形式是: 事件名称(可选输入参数列表)

请将下面的内容翻译成中文:These event routine definitions are similar to routine definitions; values appear to be received as input arguments described in any of the normal forms Events cannot have yielding argume

原文地址: https://www.cveoy.top/t/topic/ixAU 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录