[TOC] [Prev] [Next] [Bottom]



<@ASCII>

Syntax

<@ASCII CHAR=char>

Description

Returns the ASCII value of the first character of the string specified in the CHAR attribute.


!Note: Characters with ASCII codes above 127 return different values depending on the character encoding standard used by the operating system on the computer where Tango Server is running.


The attribute may be a literal value or a meta tag that returns a string.

Examples

<@ASCII CHAR="T">

This example returns "84".

<@ASCII CHAR="<@POSTARG NAME=char>">

This example returns the ASCII value of the first character of the CHAR form field entered by the user.

See Also

<@CHAR>



[TOC] [Prev] [Next] [Bottom]



docs@pervasive.com

Copyright © 1998, Pervasive Software Inc. All rights reserved.