Wednesday, September 8, 2010

jBase Commad ASCII

The ASCII function converts all the characters in the expression from the EBCDIC character set to the ASCII character set.

Command Syntax

ASCII (expression)

Syntax Element

The expression may return a data string of any form. The function will then assume that the characters are all members of the EBCDIC character set and translate them using a character map. The original expression is unchanged while the returned result of the function is now the ASCII equivalent.

Example

READT EbcdicBlock ELSE CRT "Tape failed!"; STOP
AsciiBlock = ASCII (EbcdicBlock) ;* convert to ASCII

0 comments:

Post a Comment

 

Blog Info

A Pakistani Website by Originative Systems

Total Pageviews

Tutorial Jinni Copyright © 2015 WoodMag is Modified by Originative Systems