string and variable write into file Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
maskeli
Posts: 33
Joined: 09 May 2020, 05:06

string and variable write into file

15 Apr 2021, 16:29

hi everyone

Code: Select all

dosya := FileOpen("Ayarlar.txt", "w")
deg := 2
dosya.Write("Yabbie =" + %deg%)
dosya.Close()
this code doesn't work. i want write variable with string in file
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: string and variable write into file  Topic is solved

15 Apr 2021, 16:43

Code: Select all

dosya := FileOpen("Ayarlar.txt", "w")
deg := 2
dosya.Write("Yabbie =" . deg)	; within functions/expressions variables aren't escaped using %-signs.
dosya.Close()

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: LepG, mapcarter, OrangeCat and 265 guests