Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
from ecflow import Defs,Suite,Variable,Edit

defs = Defs()
s1defs += defs.add_suiteSuite("s1") 
s1.add_variable("HELLO","world") # name, value
s1.add_variable({ "NAME":,HELLO="world",FRED="bloggs",BILL=1,NAME="value", "NAME2=":"value2", "NAME3":"value3", "NAME4":4 }  )
defs.s1.add_variable(Variable("FRED","bloggs"))
s1.add_variable(Variable("BILL","1")'NAME4',4)
defs.s1 += Edit(NAME3="value3")

The following examples show alternative styles that produce the same definition:

...