Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Hi Jignesh
The formula you provided creates the VZO variable but you have failed to provide an output of the calculation. To get the output you need to use one of the last two output methods shown in the examples below.
Roy
Period := Input("Y" ,2 ,200 ,14 );
R :=If(C>Ref(C,-1),V,-V);
VP :=Mov(R,Period ,E);
TV :=Mov(V,Period ,E);
VZO :=100*(VP/TV); {VZO created but no output enabled}
Period := Input("Y" ,2 ,200 ,14 );
R :=If(C>Ref(C,-1),V,-V);
VP :=Mov(R,Period ,E);
TV :=Mov(V,Period ,E);
VZO :=100*(VP/TV);
VZO; {output enabled by using the VZO variable name}
Period := Input("Y" ,2 ,200 ,14 );
R :=If(C>Ref(C,-1),V,-V);
VP :=Mov(R,Period ,E);
TV :=Mov(V,Period ,E);
100*(VP/TV); {output enabled by not assigning VZO a variable name}
|