PDA

View Full Version : Why does this Python example has a semi-colon at the end of the function definition?



Question
2012-02-01, 06:07
From the website example on delegates:


Python

################################################## ##############
# Event delegate for 'click' event
def page1_section3_field6_click():
obj = Lianja.findElementByID("field2";)
obj.caption = "Python"
Lianja.findElementByID("section2";).hide();

lianjasupport
2012-02-01, 06:12
Same reason there was one at the end of the Recital/VFP example until I spotted it earlier and removed it - copy/paste! I'll fix it up.

Thanks!