tst050.mal

来自「一个内存数据库的源代码这是服务器端还有客户端」· MAL 代码 · 共 15 行

MAL
15
字号
# Variables names may be tagged with a type upfront.# They may be initialized with a lexical constant using# either their stored type syntax or with a string literals:str := "hello";i:sht := 1:sht;b:bit   := true;z:bat[:int,:int]:= bat.new(:int,:int);# type resolver should complain on the restj:sht := 1:lng;k:lng := 1:sht;y:bat[:str,:int]:= bat.new(:int,:int);f:flt := "wrong";

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?