Skip to content
bergsma edited this page Sep 26, 2014 · 5 revisions

#char

###Convert to an unsigned character value or create an unsigned character variable.

Syntax

result = char value ;
char variable [= value] ; 

Arguments

  1. list value

A value of any type.

Return Value

char result
  • character : An unsigned character value is any 8 bit ascii value, in printable form.

The STATUS variable is set to $ACKNOWLEDGE

When the argument is an array variable, all the elements in the array are converted, and the result will be a vector array char result

  • character : An unsigned character value is any 8 bit ascii value, in printable form.

The STATUS variable is set to $ACKNOWLEDGE

When the argument is an array variable, all the elements in the array are converted, and the result will be a vector array

Exceptions

  • %ARGUMENT: Invalid arguments. Usage: char variable [= value] ;

  • %IDENTIFIER: 'variable' argument is not a valid identifier, literal, or reference

Description

  • None

Examples

char name[10] = "hello" ;
put byte name ;

Related Links

uchar

Clone this wiki locally