How do I create a function prototype in powershell? -
i can't find example. how make prototype powershell functions?
function examplefunc(); //other stuff calls example function function examplefunc(){//stuff}
powershell doesn't support prototype functions, forward declarations or whichever term want use this. in powershell, when use function
keyword you're defining function. if call twice same function name, change function's definition.
this question same issue bash lists common methods around issue. can same things in powershell.
another option use begin {} process {} end {}
advanced function construct, , put function declarations in begin {}
portion.
Comments
Post a Comment