Hello,

I get a strange behavior when I use a sub that does not contain any [++]
block:

-------------------------------------------------------------------------
[$ sub definedSub $]
[#+ 'hello' +#]
[- print OUT " IN ROUTINE\n"; -]
[$ endsub $]
Here is the output of the routine 'definedSub':
[- definedSub; -]
-------------------------------------------------------------------------

produces nothing.

But if I uncomment the 'hello' line, then it works as I expected and
produces:

-------------------------------------------------------------------------
Here is the output of the routine 'definedSub': hello IN ROUTINE
-------------------------------------------------------------------------

  Is it a normal behavior?

  EOL

--
Eric-Olivier LE BIGOT (EOL)
------o-o----------------------------------------------------o-o------
        National Institute of Standards and Technology (NIST)
        100 Bureau Drive, Stop 8401
        Gaithersburg, MD  20899-8401
        United States of America
------o-o----------------------------------------------------o-o------
off.: (301)-975-4397                               fax: (301)-975-4578
home: (301)-633-3160                         e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to