Skip to content

ansi_char

drewmccluskey edited this page Nov 30, 2018 · 9 revisions

ansi_char

Returns string which contains a character with raw BYTE value.

Syntax:

ansi_char(val);
Argument Description
val Raw byte value

Returns: String (Single character only)

Description:

This function returns a string which contains a character with raw BYTE value set. It should be used to save to disk for encoding.

Example:

//any event
var str = ansi_char($EF); 
file_text_write_string(global.save_file, str);

This code writes the character $EF to the save file.

Back to strings

Clone this wiki locally