Advertisement
Guest User

Untitled

a guest
Sep 29th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Function .onSelChange
  2.   SectionGetFlags ${dlaion} $2
  3.   SectionGetFlags ${update} $3
  4.   SectionGetFlags ${eudeusec} $4
  5.   ${If} $3 == 1
  6.   ${If} $2 == 1
  7.   SectionSetFlags ${update} ${SF_RO}
  8.   ${ElseIf} $2 == 0
  9.   SectionSetFlags ${update} 1
  10.   ${EndIf}
  11.   ${Else}
  12.   SectionSetFlags ${update} 0
  13.   ${EndIf}
  14.  
  15.   ${If} $4 == 1
  16.   ${If} $2 == 1
  17.   SectionSetFlags ${eudeusec} ${SF_RO}
  18.   ${ElseIf} $2 == 0
  19.   SectionSetFlags ${eudeusec} 1
  20.   ${EndIf}
  21.   ${Else}
  22.   SectionSetFlags ${eudeusec} 0
  23.   ${EndIf}
  24. FunctionEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement