News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

ClearScreen

Started by raleeper, December 15, 2009, 03:44:16 PM

Previous topic - Next topic

raleeper

There is supposed to be a ClearScreen function in masm32.  My app contains

include      g:\prog\masm32\include\masm32.inc
includelib   g:\prog\masm32\lib\masm32.lib

but the assembler gives "undefined symbol : ClearScreen"

What dumb error am I making?

Thanks,

Robert

hutch--

Robert,

I has been there for a mighty long time, do you have a missing library component ?

his is the macro.


    cls MACRO                       ;; clear screen
      invoke ClearScreen
    ENDM


The library component is clearscr.asm in the masm32 library.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

dedndave

he just isn't using it right

either:

        cls

or

        INVOKE  ClearScreen

raleeper

Thank you.

Actually the question was misguided.

All I needed was FillRect.