Align baselines of 2 fields

Bob Sneidar bobsneidar at iotecdigital.com
Fri Jun 22 18:05:50 EDT 2018


That would work, but again I am trying to bail if my parameters are out of bounds. 

Bob S

> On Jun 22, 2018, at 11:01 , Niggemann, Bernd via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi Bob,
> 
> how about:
> 
> ....
> if pOffset is empty then put 0 into pOffset
> ----------------------
> if pOffset is not strictly an integer then put pOffset div 1 into pOffset  -- <-----
> ----------------------
> catch theError
> ....
> 
> if pOffset is an integer nothing happens, if it is a floating point number div will turn it into an integer, if it is a string then it will throw an error.
> 
> Kind regards
> Bernd





More information about the Use-livecode mailing list