IP6abbreviate ( IP6fullInput ; inputType )
This function will create a hexadecimal abbreviated IP6 address.
Average rating: 4.6 (25 votes) Log in to vote
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This function will create a hexadecimal abbreviated IP6 address. The 'IP6fullInput' must be a full IP6 address ( 8 sets of numbers separated with ':', no leading or trailing ':' . 'inputType' must be 'b', 'd' or 'h', "b"=binary, "d"=decimal and "h"=hexadecimal AND must be consistent with the type of number used in 'IP6fullInput.' Properly abbreviated IP6 allows for only 1 grouping of zero sets (no matter how many sets in a row) to be represented by '::'. All other zero sets (separate from the grouping identified with '::') must either be :0: or :0000:. More than one occurance of '::' will produce an error. DEPENDANT FUNCTIONS: ReConvertNumber(RC ; number ; digits) [ http://www.briandunning.com/cf/1451 ] DEPENDANT FUNCTIONS: ConvertNumber(RC ; decimal ; NbrOfDigits ; digits) [ http://www.briandunning.com/cf/1448 ]
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.