HPlogo System Debug Reference Manual > Chapter 10 System Debug Standard Functions

func mapindex

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

Returns the map index number of the specified file name which has been previously mapped into virtual space with the MAP command.

Syntax



   mapindex (filename)

Formal Declaration



   pindex:u16 (filename:str)

Parameters


filename

The name of the previously mapped file whose index number is to be returned.

Examples



   $nmdebug > maplist
   1  DTCDUMP.DUMPUSER.SUPPORT     1000.0  Bytes = 43dc
   2  DTCDUMP2.DUMPUSER.SUPPORT    1001.0  Bytes = c84
   3  MYFILE.MYGROUP.MYACCT        1005.0  Bytes = 1004

   $nmdebug > wl mapindex("DTCDUMP")
   $1

Limitations, Restrictions


none




func macbody


func mapsize