• Welcome to TodayPlus Boards v2.
 

Query on defregion in analog-weather.com.txt

Started by arbitrajeu, October 28, 2003, 07:21:12 PM

Previous topic - Next topic

arbitrajeu

srs,

In the standard skin you define region 6 thus:
defregion,6,0,0,240,38,1
However, you then go on to define pages 0, 100, 101, 102 for region 6.  I'd like to understand why this doesn't matter.  I'd have used:
defregion,6,0,0,240,38,4
Would this have been incorrect or unnecessary?

This is not, of course, meant to be a criticism - I just want to understand this subject as fully as possible.
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]

srs

the only time the number of pages field is look at is when you go forward or back a page (button actions 1 and 2).  basically its only used so that it knows if you click "next" on page 3 of a region with 4 pages defined, it will go to page 0 instead.

arbitrajeu

Thanks, that's great.  I'd previously, incorrectly, assumed it was used in sizing memory allocation.
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]