# . proc

Source: https://ref.dm-lang.org/proc/dot

### Format
> `.(Args)`

### Returns
> The return value of the current proc.

### Args
> The arguments to pass to the new invocation of the current proc. This defaults to current arguments.

Call the current proc. A proc that calls itself is said to be recursive.

```dm /./
proc/factorial(N as num)
  if(N<=0) return 1
  return .(N-1)*N
```

This computes the factorial N! by calling itself recursively.

### See also
> [.. proc](https://ref.dm-lang.org/proc/dotdot.md)
