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

📄 selfload.sl

📁 一个C格式的脚本处理函数库源代码,可让你的C程序具有执行C格式的脚本文件
💻 SL
字号:
% This is also a good test to perform leak checking on._debug_info = 1; () = evalfile ("inc.sl");print ("Testing recursive function modifications ...");variable X = "";variable V1 = "define crash () { eval(V2); X += \"V1\"; }";variable V2 = "define crash () { eval(V1); X += \"V2\"; }";define crash ();define crash (){   eval (V1);			          crash ();   if (X != "V1")     failed ("V1");   if (1)      {	eval (V2);	crash ();	if (X != "V1V2")	  failed ("V1V2");	if (1) 	  eval (V1);	crash ();	if (X != "V1V2V1")	  failed ("V1V2V1");     }   X += "V0";}crash ();if (X != "V1V2V1V0") failed ("V1V2V1V0 : ", + X);print ("Ok\n");exit (0);

⌨️ 快捷键说明

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