AutoHotkey / AutoHotkeyDocs

Documentation for AutoHotkey
https://autohotkey.com/
380 stars 776 forks source link

Update Functor.htm #670

Closed iPhilip closed 1 year ago

iPhilip commented 1 year ago

I expanded the BoundFunc Object example to demonstrate calling a BoundFunc object with the first and third parameter of RealFn. I had mistakenly tried to do so with fn(2, , 0). This change could help others who are similarly confused.

Ragnar-F commented 1 year ago

fn(2, 0) shows "2, 1," instead of "2, 1, 0", so IsSet(c) ? ", " : "" should be changed to IsSet(c) ? ", " c : "".

iPhilip commented 1 year ago

Thank you for catching that! I corrected the entry.