12.07.2015 Views

Code Generation with Cache'' Object Script - InterSystems Benelux

Code Generation with Cache'' Object Script - InterSystems Benelux

Code Generation with Cache'' Object Script - InterSystems Benelux

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

So how does this work in practice? -.MAC#classmethod ListPropertiesListProperties(%class,%code,%method,%compiledclass,%compiledmethod,%parameter) public {For i = 1:1:%compiledclass.Properties.Count(){Set prop = %compiledclass.Properties.GetAt(i).NameDo %code.WriteLine(" Write """ _ prop _ """,!")}Do %code.WriteLine(" Quit")Quit $$$OKq 1 }

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!