fade2gray

Results 60 comments of fade2gray

A 'quick fix' - instead of restarting VSCode, you can open the AHK v2 extension's settings, select disable, followed by 'Restart Extensions', and then re-enable it.

Maybe I didn't explain myself very well. If I create and save a regex and make 3 more edit/saves, I end up with 4 versions, It's not a simple task,...

Just thinking out loud. Couldn't the converter be made to format the V1 code, e.g. ... ```Ruby gosub Label1 MsgBox, % "global msg" Return Label1: var := 5 if var...

Lable1 drops through to Label2, so you are still only looking for the final return for both labels..

To maintain the same functionality as the V1 code, the algorithm to produce the V2 conversion would have to be somehow adjusted to produce ... ```Ruby Label1() Label2() MsgBox("global msg")...

FYI: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting

Just a hint on how to post code in GitHub comments to make sure it's formatted correctly - https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-code

Looks like it may have come from this thread ... https://www.autohotkey.com/boards/viewtopic.php?style=19&f=82&t=114432

I came across this in my attempt to convert VisualDiff to ah2, before giving up, and added this to ConvertFuncs.ahk ... ```AHK if InStr(Line, 'return') { checkReturnParams(&Line) } checkReturnParams(&Line) {...

This simple example taken from the v2 documentation runs without problem in AHK++ v6.7.1. ```ahk Join(sep, params*) { for index,param in params str .= param . sep return SubStr(str, 1,...