“调用”在英语中常见的表达有 “call”、“invoke” 或 “make a call to”(更正式的说法),具体使用哪个词取决于上下文:
1、 call:
在编程语境中,“调用函数”或“调用方法”常用“call a function”或“call a method”来表达。
例如:You need to call this function to get the result.(你需要调用这个函数来获取结果。)
2、 invoke:
“invoke”也有调用的意思,尤其在需要强调触发或启动某个操作或过程的语境中。
例如:The program will invoke the specified function when a certain condition is met.(当满足特定条件时,程序将调用指定的函数。)
3、 make a call to:
这是一个更正式或更详细的说法,用于明确表示对某个对象、函数或方法的调用。
例如:We will make a call to the API to fetch the latest data.(我们将调用API来获取最新数据。)