落ちるテスト

#uselib "user32.dll" #func SetTimer "Set […]

#uselib "user32.dll" #func SetTimer "Set […]

  • hk1v
  • 2020/7/5 21:27
#uselib "user32.dll"
#func SetTimer "SetTimer" int,int,int,int
#define WM_TIMER 0x0113
#define TIMER_ID 1 ; ID
;
oncmd gosub *OnTimer, WM_TIMER
; 0.01
SetTimer hwnd, TIMER_ID, 10, 0
stop
*OnTimer
; ====== ======
if wparam == TIMER_ID {
title "sublev: " + sublev
if sublev > 480 : mes "" // 512
wait 100
}
return 0
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX