Skip to main content
1-Visitor
August 25, 2010
Question

Can I get more than one output from a program

  • August 25, 2010
  • 30 replies
  • 16932 views

I am trying to get three output from the same preogram. is that posible?

30 replies

1-Visitor
August 25, 2010

Hinnd Naser wrote:

I am trying to get three output from the same program. is that posible?

Yes, just a matter of programinging for that end.

19-Tanzanite
August 25, 2010

Yes, just a matter of programinging for that end.

While that answer is undeniably correct, I don't think it's all that useful!

1-Visitor
August 25, 2010

Richard Jackson wrote:

Yes, just a matter of programinging for that end.

While that answer is undeniably correct, I don't think it's all that useful!

Quite correct in this "Théâtre des variétés" !

19-Tanzanite
August 25, 2010

Yes, but only if the outputs all have the same units. Make the last line of the program a vector with the desired outputs.

Pointless function.gif

h_nas1-VisitorAuthor
1-Visitor
August 25, 2010

Hi,

can use more than one input, and get an output for each one.

Thank you

19-Tanzanite
August 25, 2010

Sure. If Pointless is a function definition just pass the function more than one argument. Or if Pointless is just a variable assignment rather than a function definition, it will pick up on any variables defined prior to the program in the worksheet.

Pointless function 2.gif