Free Newsletter Signup
Contact me | vCard
Brian on CNN
Brian on CBS Radio
Privacy Policy
FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.
Search | List | Show Random | Upload | Add This to Your Site
BubbleSort_SlideValue ( inputValues ; target )
Greg Lane, The Moyer Group http://www.moyergroup.com
BubbleSort_SlideValue is used by the BubbleSort function.
/* BubbleSort_SlideValue is used by the BubbleSort function */ Let ( [ totalValues = ValueCount ( inputvalues ) ] ; Case ( target < totalValues ; BubbleSort_SlideValue ( Case ( MiddleValues ( inputvalues ; target ; 1 ) > MiddleValues ( inputvalues ; target + 1 ; 1 ) ; LeftValues ( inputvalues ; target - 1) & MiddleValues ( inputvalues ; target + 1 ; 1 ) & MiddleValues ( inputvalues ; target ; 1 ) & RightValues ( inputvalues ; totalValues - ( target + 1 ) ) ; inputvalues ) ; target + 1 ) ; inputvalues ) ) Then copy & paste into FileMaker Advanced's Edit Custom Function window.
Description:
BubbleSort_SlideValue is used by the BubbleSort function. The function is called recursively to move larger values down the list. See description of the BubbleSort function for more details.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.
This is my Custom Function and I want to edit it
digg this page | del.icio.us this page
Newest Custom Functions:
ToMarket
Become a successful software entrepreneur. Click here.
Custom Function Authors: Link to all of your own custom functions on this site with the following URL: http://www.briandunning.com/filemaker-custom-functions/results.php?author=Your Name Here
Sunday, August 13 2006, Orlando FL Courtyard Orlando International Drive