MapleUserInfo - print useful information to the user in external code
|
Calling Sequence
|
|
MapleUserInfo(kv, level, name, msg)
|
|
Parameters
|
|
kv
|
-
|
kernel handle of type MKernelVector
|
level
|
-
|
non-negative integer
|
name
|
-
|
procedure name
|
msg
|
-
|
message to be displayed
|
|
|
|
|
Description
|
|
•
|
MapleUserInfo displays information relevant to the procedure being executed. This command is equivalent to the userinfo command. Information is displayed when infolevel[fn] = level, or infolevel[all] = level.
|
|
|
Examples
|
|
#include "maplec.h"
|
ALGEB M_DECL MyFrontEnd( MKernelVector kv, ALGEB *args )
|
{
|
ALGEB msg;
|
msg = MapleALGEB_SPrintf(kv,"entered with %a",args);
|
MapleUserInfo(kv,3,"MyFrontEnd",MapleToString(kv,msg));
|
return( ToMapleNULL(kv) );
|
}
|
|
|
Execute the external function from Maple.
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
ui: "entered with [1, 2]"
| |
|
|
Download Help Document
Was this information helpful?