DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools



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

Link to this comparison view

Last revision Both sides next revision
sample_code:hexview [2015/07/13 00:58]
stevegarman created
sample_code:hexview [2015/07/13 06:55]
stevegarman [Sample code] fix"<"
Line 56: Line 56:
       if(int>​31 &&​ int<​127)       if(int>​31 &&​ int<​127)
          asc=String.fromCharCode(int);​          asc=String.fromCharCode(int);​
 +      if(asc=="<"​)asc="&​lt;";​
       hbuff+="<​td>"​+hex.toUpperCase()+"</​td>";​       hbuff+="<​td>"​+hex.toUpperCase()+"</​td>";​
       abuff+=asc;​       abuff+=asc;​
sample_code/hexview.txt · Last modified: 2015/07/29 21:17 by stevegarman