Loop Append File Example AHK
Lateralus138 Dec 31st, 2019 (edited) 438 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- ; Example
- FileAppend, % "var cat" A_Index " = false`n", my_cat_file.txt
- ; longer, more human readable way:
- myFile := "my_cat_file.txt"
- thisString := "var cat" . A_Index . " = false`n"
- FileAppend, %thisString%, %myFile%
- ; To create variables dynamically in loop
- cat%A_Index% := 0 ; 0 = False
RAW Paste Data