next_name: Next Name from Counter

View source: R/counter.R

next_nameR Documentation

Next Name from Counter

Description

This function looks up the given name in the given counter, increments the counter for that name, and returns a string with the name and new count.

Usage

next_name(counter, name, ...)

Arguments

counter

(Counter) The counter for lookup.

name

(character) The name to look up in the counter.

...

Additional arguments, currently ignored.

Details

Side effects: The counter is modified in-place.

Value

(character) A string containing the name and the new count.


nick-ulle/ast documentation built on May 14, 2024, 7:40 p.m.