Results 1 to 2 of 2

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

  1. #1

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

    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();

  2. #2
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,259
    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!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us