lxsfont() Subroutine

Issues the set fonts command.

Library:
LPEXAPI.H
Include File:
LPEXAPI.H

C Syntax

int lxsfont(unsigned char *Buffer); 

Parameter

Buffer 
A variable long enough to hold the value.

Description

The lxsfont subroutine provides a faster way of issuing the set fonts command from a C program. It has the same effect as calling:

sprintf(buff1, "set fonts %s",buffer);
lxcmd(buff1);

Example

To set the fonts of the current line, type:

lxsfont("ABBBBBA");

Return Value

The return value is the return code from the Editor.


Building External Commands Written in the C Language
lxcmd() Subroutine
lxqfont() Subroutine
fonts Parameter