[WISH] formatted string literals

Discuss the future of the AutoHotkey language
jj4156
Posts: 6
Joined: 17 Jun 2019, 07:03

[WISH] formatted string literals

10 Sep 2020, 09:34

While it's easy to done somehow by Implicit connection or continuation section in v1. But, something like f-string in python maybe more easier to use.
And %% deref in continuation section may be a good way for ahk formatted string literals.

Suggestion Example

Code: Select all

var := 123

; single line
string := f"some text %var% some text"

; multiline
string := f"
(
    other text %var%
    another text
)"

Return to “AutoHotkey v2 Development”

Who is online

Users browsing this forum: No registered users and 5 guests