AutoHotkey / AutoHotkeyDocs

Documentation for AutoHotkey
https://autohotkey.com/
375 stars 746 forks source link

Update Functor.htm #670

Closed iPhilip closed 11 months ago

iPhilip commented 11 months 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 11 months ago

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

iPhilip commented 11 months ago

Thank you for catching that! I corrected the entry.