# The first part of the script will take the integer representing the system flags, convert it to bits, and place it in a list and then print it out.
# The second part of the script will take the list of bits, and place it in a table showing what each of the bits represent.
myList = []
flags = system.util.getSystemFlags()
for i in range(8,-1,-1):
myList.insert(0, flags >> i & 1)
print myList
headers = ["Designer Flag", "Preview Flag", "Client Flag", "Webstart Flag", "Applet Flag", "Fullscreen Flag", "SSL Flag", "Mobile Flag", "Staging Flag"]
data = system.dataset.toDataSet(headers, [myList])
table = event.source.parent.getComponent("Table")
table.data = data
1 Comment
Anonymous
The description says to see below for examples on how to extract the bits from the bit fields but there is no example.