What is the difference between getvar & setvar?

Questions by kavitha_pendkar   answers by kavitha_pendkar

Showing Answers 1 - 3 of 3 Answers

getvar: This function returns the value of a system variable.

setvar: This function modifies the value of a system variable

getvar("timeout"); # returns the timeout variable value
setvar("timeout",10); # sets the timeout as 10

  Was this answer useful?  Yes

getvar: This function returns the value of a system variable

setvar: This function modifies the value of a system variable

getvar("timeout");      # shows the timeout variable value
setvar("timeout",10);  # set the timeout variable as 10

  Was this answer useful?  Yes

hi,

These Two TSL functions are used when we are working with environmental variables.

setvar - used to get the current value of the environmental variable.

setvar - used to replace the current value with the given value of the environmental variable.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions