n : 16bitの数値/数値変数
nの下位バイトが返ります。
nの下位バイトを求めます。
引数はキャストするため変数のオーバーフローはありませんがデータは崩れます。
#include "Proj.API.as"
#include "Proj.API/winapi/windef.as"
word = MAKEBYTE(1, 2)
mes word
mes HIBYTE(word)
mes LOBYTE(word)
stop
windef.asに定義、Proj.API.as,Proj.API/winapi/windef.asをinclude
Copyright(C) by Project.API