Brian Dunning's FileMaker Custom Functions

Asc ( char )

Returns the Ascii code for the given character

  Average rating: 3.8 (41 votes) Log in to vote

Theo Ros   Theo Ros - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
Asc ( "A" )
  Sample output:

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns the ascii value for the first character
given in textparameter 'char'

Syntax: Asc ( text )
Returns the ascii value 0-255

Return type: Number

Note: I uploaded this because the function ASCII_Code ( char ) by Tony Tanevski is wrong.



Gjermund Gusland Thorsen   Gjermund Gusland Thorsen, HELGEROA
Feb 18, 2009
Is this function platformindependant?
Will Bullard   Will Bullard, Little Rock
Oct 7, 2009
The function has an error. It should read
char = Left (text;1)

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: