Is the usage of "so as to" correct? [closed]

Can "so as to" be used, and if so in what contexts and in what situations? Can it be used formally and in written documents?

Edit: I'm looking more at an IT question for example "You can do 'something' so as to get the variable and process it"


Solution 1:

This is a very broad question, but to give you a couple of examples:

He put on an elaborate ruse so as to deceive her.

She tried to look nonplussed so as to conceal her rage.

Yes you can use that phrasing formally in writing or speech, although personally, I wouldn't. It has limited applications.

EDIT: Yes, based on your edit, you can use that terminology in IT:

Ensure that the firewall is properly configured so as to prevent an attacker from infiltrating our network.