So, to modify your proposal like so?

 if (defined(cal_IE) == false) then
      alias cal_IE is INTCON_GIE
 end if

 while seconds > 59 loop    -- if seconds < 60, nor harm is done
     var bit old_ie =  cal_IE
     seconds = seconds - 60
      cal_IE = old_ie
     minutes = minutes + 1
  end loop


What do you think?

William


On Feb 25, 9:14 am, Joep Suijs <[email protected]> wrote:
> Hi William,
>
> > I am wondering if "alias" would work for this?
>
> A calender alias for the specific IE bit? Yes this should work.
>
> I would consider to make it mandatory for the user of calender.jal to
> specify it. Otherwise, no-one will probably give it any thought...
> Or... make it optional and use GIE when it is not specified.
>
> Joep

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to