This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uses gw.lang.reflect.IPropertyInfo | |
| var propertyList = entity.Entity.TypeInfo.Properties.toArray() | |
| propertyList = propertyList.sort( \ elt1, elt2 -> elt1.toString() < elt2.toString()) | |
| propertyList = propertyList.where( \ elt -> elt.toString().matches(".*[a-z]+.*")) | |
| propertyList = propertyList.where( \ elt -> not ((elt as IPropertyInfo).Hidden or (elt as IPropertyInfo).Internal)) | |
| print("Found entity properties ("+propertyList.Count+"):") | |
| for(myProperty in propertyList) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git log --pretty=fuller |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uses gw.api.util.Math | |
| var resultTimesVariable = new long[100] | |
| var resultTimesConcat = new long[100] | |
| for (var count in 0..99) { | |
| var startDate = (new Date()).Time | |
| for (var i in 0..1000000) { | |
| var elem1 = Math.random(10000) | |
| var result = "bla ${elem1}" |
OlderNewer