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

📄 types.via

📁 用VB6写的真正的32位高级语言可视程序编译器
💻 VIA
字号:
// Types.lnl

application PE GUI;

import MessageBox alias MessageBoxA lib "USER32.DLL",4;

type person {
    dword health;
    string name[50];
}

person kinex;
person bill;

frame ShowTypes();
    string buffer[50];

    kinex.health = 100;     kinex.name = "Robert Stock";
    bill.health = 10;       bill.name = "Bill Gates";

    Format(buffer, 
        "Person1.Name\t=\t%s\nPerson1.Health\t=\t%d", 
        kinex.name,kinex.health);
    MessageBox(0,buffer,"Person1",0);

    Format(buffer,
        "Person2.Name\t=\t%s\nPerson2.Health\t=\t%d",
        bill.name,bill.health);
    MessageBox(0,buffer,"Person2",0);
end;

entry
    ShowTypes();
end.

⌨️ 快捷键说明

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