- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2019-04-28T13:26:31+09:00","default:ryuichi","ryuichi")
#author("2019-04-28T13:27:38+09:00","default:ryuichi","ryuichi")
* 変数の代入 := と = [#k17c5a79]
** 2つの代入方法 [#td4e994e]
- AHKには変数に値を代入する方法が2つある。
- 一つは、= でレガシーな方法
- もう一つは、 :=
** それぞれの使い方 [#r8ff6028]
*** = [#hb17817d]
*** ● = [#hb17817d]
foo = 123
bar = Hello World
baz = %bar%
*** := [#b43b9f56]
*** ● := [#b43b9f56]
foo := 123
bar := "Hello World"
baz := bar
** 参考 [#j6e70dac]
https://www.autohotkey.com/docs/Variables.htm