Deklaration einer Funktion/Prozedur

ID188
Link ReferenceNot set
Link CreditsNot set
Link Technical DocumentationNot set
PlCodelangPython
PlGroupProzeduren, Funktionen, Methoden
PlItemTitleDeklaration einer Funktion/Prozedur
Codedef this_is_my_function_name(param1):
print "do something inside the function " + param1

print "do something outside the function"
# call the function
this_is_my_function_name("hello world")
Result Example