Advertisement
retesere20

--

Jun 23rd, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. Using elsystem;
  2. using elsystem.collections;
  3. inputs:
  4. Object obj(objectSimple);
  5.  
  6. Vars:
  7. Dictionary dict(null), int y_(0), string final_str("");
  8.  
  9. dict = obj astype dictionary;
  10.  
  11. final_str= "----Printing dictionary-----";
  12.  
  13. For y_ = 0 to dict.count-1 begin
  14. final_str = final_str + (dict.Keys[y_] astype string) + " : " + (dict.Values[y_]).ToString()+ " ["+ (dict.Values[y_]).GetType().ToString()+"]" + NewLine;
  15. end;
  16.  
  17. PrintDict = final_str;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement