Error for puts Stdout
Altair Forum User
Altair Employee
I facing problem while using command puts stdout. I am trying to display some text along with value of variable . I am getting the following error :
can not find channel named 'stdout'.
I noticed this similar kind of error while executing : puts Hello World. Error is: can not find channel name 'Hello'. This error occurs because puts needs two arguments :1st one I/O stream identifier (output,error,input) and string so this command doesn't identify Hello as valid stream identifier. But since I am using stdout, this error shouldn't come.Also it working fine is some system,while in others it is showing error.
0
Answers
-
Show your code?
0