Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > Z

ZHC

Scroll Prev Top Next More

(ZHC(arg))

 

Convert double byte value to single byte value. The function is specific to R:BASE use for a computer whose system locale is configured for Japan.

 

The function is based on having previous style Japanese characters. Internally R:BASE has a table of character codes that correspond to the Japanese locale character mappings. The mappings are what has been used in Japan for a long time and are called "half width characters". There is another table that has to same characters but stored a "full width characters".

 

As an example, the lower case "a" followed by a blank equals 61 20 as hex values. HZC maps these to 82 81 as hex values which is a "full width" lower case "a". The ZHC function can take 81 81 and map it back to 61 20.