LPOS()
This page was last modified 00:05, 30 May 2023 by Mars2000you. Based on work by Gdx and NYYRIKKI and others.

Contents

Effect

Returns the current memory address of the print head within the printer buffer.

Syntax

LPOS(<Variable>)

Parameter

<Variable> is a dummy variable.

Example

10 LPRINT "MSX Forever!"
20 LPOS(0)
 
RUN
12

Compatibility

MSX-BASIC 1.0 or higher