Displaying functions by Genx

convert.intToRoman ( num )

Non recursive function that converts numbers to roman numerals.

    By Genx   (3 comments Posted 4 May 2009   Rating:  unrated

FM8List ( field ; numberLeft )

List function (available in FM8.5) emulator for FM8. Usage is the same as list for the purpose of related records except that you must provide the number of related records yourself as the second parameter

    By Genx   (2 comments Posted 16 December 2008   Rating:  unrated

HTML_Parser_FindClosingTagPosition ( curindex ; tag ; pos ; html )   [ HELPER FUNCTION ]

Given a starting position (being a position immediately following a start html tag), this function finds the position of the corresponding end html tag.

    By Genx   (0 comments Posted 2 December 2010   Rating:  unrated

HTML_Parser_FindOpeningTagPosition_AtCurrentLevel ( html ; tag ; occurrence ; pos )   [ HELPER FUNCTION ]

Retrieves the requested occurrence of the top most set of tag's (see example).

    By Genx   (0 comments Posted 5 December 2010   Rating:  unrated

HTML_Parser_GetTagContents ( html ; tag ; occurrence ; include_tags )

Retrieves contents of a particular occurrence of an html tag.

    By Genx   (0 comments Posted 2 December 2010   Rating:  unrated

HTML_Parser_GetTagContents_AtCurrentLevel ( include_tags ; html ; occurrence ; tag )

Similar to the HTML_Parser_GetTagContents function which retrieves contents of a particular occurrence of an html tag but instead takes into account the top most instances of the tags only.

    By Genx   (0 comments Posted 5 December 2010   Rating:  unrated

list.filter ( dataType ; test ; listValues )

Iterates over each value in the input list passing them to the test to be evaluated - the value is available as the keyword "value". If the evaluated test returns true, the current value from is returned to the result list.

    By Genx   (0 comments Posted 27 November 2008   Rating:  unrated

list.find ( listValues ; string )

Finds the index of a given string within a list. If the item is not found within the list, the function will return 0 instead.

    By Genx   (0 comments Posted 7 December 2008   Rating:  unrated

list.makeAlphaRange ( end ; start )

A basic function that generates an alpha (character)

    By Genx   (0 comments Posted 21 November 2008   Rating:  4.0

List.Math ( ListValues ; FunctionName )

Allows you to run the "Repeating / Related" math functions that normally only accept Repeating / Related input's - directly on a list. E.g. Average, Count, List, Max, Min, Stdev, Sum etc.

    By Genx   (9 comments Posted 15 February 2009   Rating:  unrated

list.rand ( listValues )

This function is part of a larger series of functions seeking to implement equivilant's of PHP's native array_* functions. This particular function emulates PHP's array_rand() (see http://php.net/manual/en/function.array-rand.php)

    By Genx   (0 comments Posted 4 December 2008   Rating:  unrated

list.range ( low ; high ; step )

Returns a list of elements from low to high , inclusive. If low > high, the sequence will be from high to low.

    By Genx   (0 comments Posted 28 January 2009   Rating:  unrated

list.walk ( listValues ; functionName )

The function is designed to process every value in the provided list according to the function provided in the first parameter

    By Genx   (2 comments Posted 16 November 2008   Rating:  3.0

logical.switch ( results ; tests ; value )

Designed to mimic the switch statement available in various programming languages to the extent possible.

    By Genx   (2 comments Posted 16 December 2008   Rating:  4.0

NthRoot ( num ; n )

I'm sorry for this function, I really am but it's lack of existence seems moronic especially with the existence of the sqrt function. Plus it's not necessarily all that obvious to some people.

    By Genx   (4 comments Posted 13 April 2009   Rating:  unrated

 

« Previous 1 2 Next »

 

 

 

 

 

 

Top Tags

Text Parsing  (33)
List  (32)
Date  (28)
XML  (27)
Format  (23)
Sql  (22)
Dev  (20)
Debug  (17)

 

Interface  (15)
Layout  (15)
Text  (14)
Variables  (13)
Filter  (12)
Layout Objects  (11)
Design  (10)
Array  (8)