That is something like this Python code:
- Code: Select all
def sqg(num):
def f():
return num + num
return f
sqg2 = sqg(2)
print sqg2()
I tried of course ma Cobra compiler seems to refuse....
def sqg(num):
def f():
return num + num
return f
sqg2 = sqg(2)
print sqg2()
Users browsing this forum: No registered users and 33 guests