0
Answered
Local Variables
Can't find this in the literature:
Are local variables always the same variable type as the channel. In other words, are local variables within an IMAC, integer values; local variables within a MAC - reals?
Customer support service by UserEcho
Hello Joe.
No, you use real values inside the channel and then the result is rounded to the closest integer value.
A clarification; you may use any of the value types Boolean, Real or Integer as Qcode local variables within the channel.
The assignment of the local variable will determine its value type.
If Result is a different value type than the channel, the value will be cast to the value type of the channel, as Thomas explained.