ALARMus Acclaimed Contributor.
Acclaimed Contributor.
212 views

if...then - for FC

Jump to solution

I need assign a values to multiple variables after THEN operator in Calculation of FC for IF....THEN

How can i do that ?

 

0 Likes
1 Solution

Accepted Solutions
Highlighted
Super Contributor.. bogart Super Contributor..
Super Contributor..

Re: if...then - for FC

Jump to solution

Hi Alarmus,

I used this line in one of my customized format controls:

if ($sh.xxx.ok=true) then ($sh.xxx.go=true;$sh.xxx.recalc=true)

You can use multiple expressions in the then part - just separated by ;

Regards,

bogart

3 Replies
Micro Focus Expert
Micro Focus Expert

Re: if...then - for FC

Jump to solution

Hello, 

This can be able in Service Manager, our recommendation is to follow the OOB code as a guide.

For example: then ($G.test=false) 

0 Likes
ALARMus Acclaimed Contributor.
Acclaimed Contributor.

Re: if...then - for FC

Jump to solution

What if i need set value for several variables in one condition

if (...) then [ ($G.test1=false)  and ($G.test2=false) ]...

0 Likes
Highlighted
Super Contributor.. bogart Super Contributor..
Super Contributor..

Re: if...then - for FC

Jump to solution

Hi Alarmus,

I used this line in one of my customized format controls:

if ($sh.xxx.ok=true) then ($sh.xxx.go=true;$sh.xxx.recalc=true)

You can use multiple expressions in the then part - just separated by ;

Regards,

bogart

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.