Re: Case Statements

2004-06-15 Thread jhoskins
Thanks for clearing up my mistake. Kura Altenbach is correct. After reading your question again I realize I was wrong. sorry for that, thanks again altenbach.

Case Statements

2004-06-14 Thread Kura
I'm working on a program and have a problem with a case statement. I have a tunnel spitting data out of case 1, but the program refuses to compile because I don't have any data exiting the tunnel for case 0. But the thing is, I'm building an array, and don't want anything from case 0 added to the a

Re: Case Statements

2004-06-14 Thread altenbach
Joe, Actually "use default if unwired" has nothing to do with any "default case" and does not require the presence of a default case. It simply assigns the default value for the given data type to the output tunnel in cases where it is not wired. (examples: a DBL gets 0, a boolean gets "false", a

Re: Case Statements

2004-06-14 Thread jhoskins
Make case 1 the default case then right click on the tunnel and select use default if unwired. Hope this helps Joe