primlab2
.STR1
which will be
a message string to print out.open()
method of the primitive.
open()
should return FINISH
.process()
or a close()
.UPDATE
to update the command dictionary.BUILD
or BLD
to build the primitive.nM> primlab2 "Hello World!" INFO: Hello World! [PRIMLAB2]
/WARN
switch is given.nM> primlab2 "Hello World!" INFO: Hello World! [PRIMLAB2] nM> primlab2/warn "Hello World!" WARN: Hello World! [PRIMLAB2]
RESNAME
.
UPDATE
that your primitive now takes
in 1+
arguments.RESNAME
.nM> primlab2 "Hello" RESNAME=myres INFO: Hello [PRIMLAB2] nM> res myres 5S: Hello
Hi
. What happens?
Don't Make This Mistake: |
---|
![]() UPDATE command, make sure to include the
= after specifying each parameter name. Example: STR1= ,
instead of STR1 . Failure to include the = sign will result
in the parameter not being recognized by NeXtMidas.
|