mca*_*dre 7 delphi lambda closures freepascal anonymous-methods
我尝试使用Delphi的匿名方法语法:
type
fun = reference to function(): Integer;
Run Code Online (Sandbox Code Playgroud)
Fpc显示语法错误:
Error: Identifier not found "reference"
Run Code Online (Sandbox Code Playgroud)
什么是免费Pascal相当于Delphi的匿名方法,如果有的话?
| 归档时间: |
|
| 查看次数: |
3476 次 |
| 最近记录: |