Answer the question
In order to leave comments, you need to log in
Is there a concept of function declaration in powershell?
Good afternoon everyone, does powershell have the concept of a function declaration, as in C++, for example, or does a function have to be defined before it is used in code or imported from a module.
Let me explain what I mean. in si you could do something like
//Заголовок
int foo( int a,int b); //объявление функции
int main()
{
//основной код
}
int foo(int a,int b) //определение функции
{
return a+b
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question