Function in Applescript?

Does applescript support functions? Anyone know the syntax or better examples?

thanks…

Answered in our FAQ (located in the root of this forum): http://bbs.applescript.net/viewtopic.php?id=14495

thanks… tried to search a few times couldn’t get any results.