Posts

Showing posts with the label Graph Development

S) Output index example

Image
 Input Data               Reformat   Count =3   /*Function returning index of output port*/   output_index_ out :: output_index (in)=   begin   output_index_ out :: if( in.gender =="M")0 else if ( in.gender =="F") 1 ;   end;    

T) What is the difference between $ and ${} substitution. ?

 ${} substitution is similar to $ substitution except that the parameter must be preceded by curly brackets.  If we talk about these in parameter definitions then -     1. If the interpretation is $ substitution then we can give the value as both $ substitution and ${} substitution. e.g. Parameter can be of name $AI_SERIAL or ${AI_SERIAL}    2. If the interpretation is ${} substitution then we can only give the value as ${} substitution parameter. e.g. Parameter can only be of name ${AI_SERIAL}