Problem description:
I seem to run into a lot of issues where I'm not calling ..() in a proc, and it ends up failing to function properly.
I've never really learned when to properly use it. I just place it in where I've seen others use it.
When and where are appropriate places to use this function?
#2 Aug 2 2012, 1:04 am (Edited on Aug 2 2012, 1:45 am)
|
||
..(args) can be used for a number of things, as Aramm12 stated.
| ||
#3 Aug 2 2012, 7:24 am
|
||
In a lot of built-in procedures, the reference states what the "Default action" or what it "Returns." When overriding, you access those with ..().
| ||
You place ..() to call the default function of the proc you're using it in. If you do not call ..(), you're overwriting the default function with whatever proc you're neglecting to call it in.
Example: