divide1.via
来自「用VB6写的真正的32位高级语言可视程序编译器」· VIA 代码 · 共 33 行
VIA
33 行
// Divide1.lnl
application PE GUI entry main;
import MessageBox ascii lib "USER32.DLL",4;
string buffer[256];
frame main();
local dword x;
local dword y;
local dword quotient;
x=9; y=3;
quotient = x/y;
Format(buffer,"%d / %d = %d",x,y,quotient);
MessageBox(0,buffer,"Divide1",0);
x=2; y=3;
quotient = x/y;
Format(buffer,"%d / %d = %d",x,y,quotient);
MessageBox(0,buffer,"Divide1",0);
x=9; y=4;
quotient = x/y;
Format(buffer,"%d / %d = %d",x,y,quotient);
MessageBox(0,buffer,"Divide1",0);
x=255; y=1;
quotient = x/y;
Format(buffer,"%d / %d = %d",x,y,quotient);
MessageBox(0,buffer,"Divide1",0);
end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?