小程序无法使用代码保护功能_了解和使用功能和程序

小程序无法使用代码保护功能Have you ever found yourself writing the same code over and over to perform some common task within event handlers? Yes! It's time for you to learn about programs within a program. Let's...
摘要由CSDN通过智能技术生成

小程序无法使用代码保护功能

Have you ever found yourself writing the same code over and over to perform some common task within event handlers? Yes! It's time for you to learn about programs within a program. Let's call those mini-programs subroutines.

您是否发现自己一遍又一遍地编写相同的代码来执行事件处理程序中的某些常见任务? 是! 现在是时候让您了解程序中的程序了。 我们将这些微型程序称为子例程。

子程序简介 ( Intro to subroutines )

Subroutines are an important part of any programming language, and ​Delphi is no exception. In Delphi, there are generally two types of subroutines: a ​function and a procedure. The usual difference between a function and a procedure is that a function can return a value, and a procedure generally will not do so. A function is normally called as a part of an expression.

子程序是任何一个重要组成部分的编程语言 ,以及德尔福也不例外。 在Delphi中,通常有两种子程序类型:函数和过程。 函数和过程之间的通常区别是函数可以返回值,而过程通常不会这样做。 函数通常被称为表达式的一部分。

Take a look at the followi

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值