Answer the question
In order to leave comments, you need to log in
What does the Get() method of the ValueTable return?
Greetings.
The question is quite simple and stupid - what does the Get(<Index>) method of the table of values return if the row with that index is not found? Syntax Assistant kept silent about this, and Google gives heresy in the form of articles and questions in general on other topics.
Answer the question
In order to leave comments, you need to log in
check experimentally)))
It is better to be postponed, in the subcortex.
mrgrigo
Description:
Gets the value by index. Works similar to the [] operator.
Accordingly, if there is no element with such an index, an error will be raised. Before getting an element by index, it is better to check for the numberЕсли Таблица.Количество() > НужноеКоличество Тогда Значение = Таблица.Получить(индекс); КонецЕсли;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question