Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Module 1. Day 3. Formal and Actual Parameters

  • 1C:Enterprise
  • 2022-05-20
  • 1397
Module 1. Day 3. Formal and Actual Parameters
1C1C:Enterprise1C Platformprogrammingtrainingbusiness app developmentrapid application developmentlow-code developmentlow-coderaderp
  • ok logo

Скачать Module 1. Day 3. Formal and Actual Parameters бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Module 1. Day 3. Formal and Actual Parameters или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Module 1. Day 3. Formal and Actual Parameters бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Module 1. Day 3. Formal and Actual Parameters

In the previous chapters we discussed two types of methods (procedures and functions). Let’s consider a piece of code we have worked with before.

Here we call our function that passes parameters SecondNumber, ThirdNumber, and FourthNumber. As you can see, inside the function we use different parameters LowerBound, UpperBound, and BigNumber. So, what is the difference?

Formal parameters are parameters of procedures or functions. They are created and used only inside functions with values matching values of actual parameters.

Actual parameters are values that are passed to a procedure or function.

The concept is that formal parameters exist only inside the created function. They are created at the start of a function and get deleted at the end of such a function (or a procedure, of course). So, SecondNumber and LowerBound are actually two different variables that share the same value.
We can pass actual parameters to functions or procedures by value or reference (remember about [Val] keyword). Let’s check the difference between these two options.
Here we pass actual parameter ActualParameter1 as a value. So, any changes to formal parameter FormalParam1 do not affect the actual parameter.

This was a scenario for passing a parameter by value using keyword [Val]. Now consider the following code.

And here we passed actual parameter ActualParameter1 by reference. It means that now changes in the formal parameter impact the actual parameter. Here is the result.

As you can see, passing actual parameters by reference leads to irreversible changes of the ActualParameter1. So, we recommend that you be extremely careful when passing parameters to functions and procedures.
Also, the meaning of term reference in the 1C language is different as compared to any other programming language. We do not have references to variables in 1C, and in all future cases (apart from passing parameters) by reference we mean references to configurations objects. And this is the topic for future discussion.

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]