User Tools

Site Tools


reflection-field-selection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

reflection-field-selection [2018/01/24 11:51]
barryfp created
reflection-field-selection [2018/02/05 16:27] (current)
barryfp
Line 50: Line 50:
 people = sort.sort(people,​ Person.[name],​ true) people = sort.sort(people,​ Person.[name],​ true)
 </​code>​ </​code>​
 +
 +<WRAP center round info 60%>
 +Note that ''​TypeField''​ is a type synonym for ''​int'',​ so you can apply any arithmetic operators to a ''​TypeField''​ or otherwise treat them as integers for all purposes. You can also access fields using a literal integer, for example ''​p:​.0''​.
 +</​WRAP>​
  
 ===== Reflection ===== ===== Reflection =====
reflection-field-selection.txt ยท Last modified: 2018/02/05 16:27 by barryfp