.TEXT SET UNINAME

This subroutine returns the named Unicode character. Added in 6.0.0


Usage

      PASS         <unicode_string>           FIELD            SHARE? Y
      PASS         <unicode_name>             FIELD            SHARE? N
      GOSUB    --- .TEXT SET UNINAME
      *        Check for errors
      IF       --- .TEXT SET UNINAME          NE

Description

This subroutine returns the named Unicode character. All parameters are required. If any required parameters are missing, the subroutine will CANCEL.

<unicode_string> returns the Unicode character named in <unicode_name> (Required). Only one character of the string is returned, if you PASS a longer field containing more characters they will be lost. This must be PASSed with Share "Y" to return the value.

<unicode_name> is the name of the Unicode character you want set into <unicode_string> (Required).

This is the opposite of .TEXT GET UNINAME.

Note: This subroutine is designed to operate on Alpha, Text, and Token fields only. The returned results are undefined if you specify any other type of field.

Comments


 

-- %USERSIG{JeanNeron - 2017-11-02}%
Topic revision: r2 - 10 Apr 2023, BrianRyan - This page was cached on 14 Oct 2026 - 05:35.

Powered by Foswiki. Wiki content belongs to its contributing authors.