uniq_end

uniq()のスコープ終了

uniq_end [マクロ]

(プラグイン / モジュール : mod_TimerRepeat)

解説

uniq()を使うことで、名前の被らないユニークな変数が使えるようになります。

区間(スコープ)を uniq_start, uniq_end で区切る必要があります。

timer_loopには既にuniq_endが組み込まれています。
そのため、timer_repeattimer_loop区間ではuniq_start,uniq_endを記述することなくuniq()が使用できます。

関連項目

timer_repeatタイマーループの始まりの場所を示す(mod_TimerRepeat)
timer_loopタイマーループの始まりに戻る(mod_TimerRepeat)
timer_killタイマーループを終了させる(mod_TimerRepeat)
timer_initタイマーループ初期化処理(_init_end まで)(mod_TimerRepeat)
timer_deinitタイマーループ後始末処理(mod_TimerRepeat)
timer_breakタイマーループから抜けだしてタイマーも終了させる(mod_TimerRepeat)
timer_continueタイマーループをやり直す(mod_TimerRepeat)
timer_cntタイマーループのカウンター(mod_TimerRepeat)
timer_intervalstimer_repeat内で繰り返し間隔の取得(mod_TimerRepeat)
timer_getTimerTime実行中のタイマーループの経過時間を取得(mod_TimerRepeat)
timer_getTimeミリ秒タイマー(mod_TimerRepeat)
timer_setTimerSpeedタイマーループの繰り返し間隔を変更(mod_TimerRepeat)
timer_easeタイマーループ内で時間変化によるイージング値の取得(mod_TimerRepeat)
geteaseT時間変化によるイージング値を取得(mod_TimerRepeat)
timer_setTimerEngineタイマーの実行タイミングを変更する(オート/マニュアル)(mod_TimerRepeat)
timer_fireタイマーのマニュアル実行時に確認/実行を行う。(mod_TimerRepeat)
uniq_startuniq()のスコープ開始(mod_TimerRepeat)
uniqユニークな変数を定義(mod_TimerRepeat)
uniq_enduniq()のスコープ終了(mod_TimerRepeat)
timer_waiton実行を一定時間中断する(タイマーループ割り込み+oncmd等の割り込みジャンプに対応)(mod_TimerRepeat)
timer_awaiton一定の時間で待つ(タイマーループ割り込み+oncmd等の割り込みジャンプに対応)(mod_TimerRepeat)
timer_stopプログラム中断(タイマーループ割り込みに対応)(mod_TimerRepeat)

サンプル逆引き (1)

08.uniq()の検証.hsp#include "../mod_TimerRepeat.hsp" a=1 : b=2 : c=3 color..

情報

プラグイン / モジュールmod_TimerRepeat
バージョン2.5
作成日2024/1/5
著作者MIZUSHIKI
URLhttp://suwa.pupu.jp/
備考mod_TimerRepeat.hspをインクルードすること。
タイプ拡張命令
グループプログラム制御マクロ
対応環境・Windows 版 HSP