Description Usage Arguments Details Value Future See Also Examples
Provides systematic names for a series of items according their number giving them an identical number of characters.
1 2 3 4 |
form3numbering(nbn,type="n",bef="-",aft="-",
start=1+(type=="n"),
monitor=rbsa0$monitor$v)
|
nbn |
Number of item names to generate from start. |
type |
Defines the type of numbering to use. There are three possibilities: A for uppercased letters, a for lowercased letters and n for arabic numbers. |
bef |
To put before the number. |
aft |
To put after the number. |
start |
The first number to issue (>0). |
monitor |
List of constants indicating the monitoring choices, see the rbsa0$monitor$v provided object as an example. |
Alphabetical series are "aa","ab",...,"az","ba",... Then starting
from the second element means to start from "ab". It is not possible
to start from the 0th element.
Numerical series are "00","01","02",...,"09","10",... Then one
can start from the zeroth element which is "00" but starting from
the second element means starting from "01". This inconsistency
may look not desirable, but it allows to follow the natural
reasoning when working in any of the two logics.
character vector with nbn different strings associated to names
Monitor the number of digits to obtain series of "Z01", "Z02",... ,"Z79", "Z80".
1 2 3 4 5 |
form3numbering(27);
form3numbering(27,start=1);
form3numbering(100,"a");
form3numbering(100,"A");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.