Cyan's Blog

Search

Search IconIcon to open search

Function_Procedure_Difference_(存储)过程和函数的区别

Last updated Jun 25, 2021 Edit Source

# Difference Between Function and Procedure

Link

函数有1个返回值,而存储过程是通过参数返回的,可以有多个或者没有

# E.g.

1
2
3
ZZ x, a, n;  
x = InvMod(a, n);  _// functional form_  
InvMod(x, a, n);   _// procedural form_