Loading ...
Sorry, an error occurred while loading the content.

[NTB] Minor issues (NTP 4.8 final)

Expand Messages
  • Sami Jarvinen
    Just a couple of things about ^$getDosOutput( command )$ 1) If command produces no output, NoteTab brings up an error dialog complaining about it. This is a
    Message 1 of 1 , Feb 26, 2000
    • 0 Attachment
      Just a couple of things about ^$getDosOutput("command")$

      1) If "command" produces no output, NoteTab brings up an error dialog
      complaining about it. This is a Bad Thing (tm). A better way to handle the
      situation would be to use the "error facility" (^!ifError).

      2) The name of the function should really be "getShellOutput", but since
      fixing it would break a lot of existing clips, it's not really worth it I
      suppose :-)

      Cheers
      Sami Järvinen
    Your message has been successfully submitted and would be delivered to recipients shortly.