⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 find_nil_in_void.sf-921814.mal

📁 一个内存数据库的源代码这是服务器端还有客户端
💻 MAL
字号:
b := bat.new(:oid,:str);bat.append(b,"zero");io.print(b);z:= algebra.find(b,0:oid);zs:=str.str(z);catch MALException:str;	zs:= nil:str;exit MALException;io.printf("oid(0) -> %s\n",zs);z:= algebra.find(b,nil:oid);zs:= str.str(z);io.printf("oid(nil) -> %s\n",zs);bat.append(b,"zero");io.print(b);z:= algebra.find(b,0:oid);zs:=str.str(z);catch MALException;	zs:= nil:str;exit MALException;io.printf("oid(0) -> %s\n",zs);z:= algebra.find(b,nil:oid);zs:= str.str(z);catch MALException;	zs:= nil:str;exit MALException;io.printf("oid(nil) -> %s\n",zs);

⌨️ 快捷键说明

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