View Single Post
Old 08-18-2007, 09:11 PM   #10
ns66
Connoisseur
ns66 doesn't litterns66 doesn't litter
 
Posts: 78
Karma: 156
Join Date: Jul 2007
Device: sony reader
i find my ereader is bricked, i tried to calculate the page number by doing

e = this.countPages();

this.setPage(e/10);

this seems to work only if e is xx0, if e is say 24, this will brick ereader, seems need to cast e/10 from float to int, but how? i tried (int)(e/10) doesn't seem to work, any idea?

(by the way, what language exactly is ereader using? javascript? VB?)

thx
ns66 is offline   Reply With Quote