> Le 19 mai 2018 à 09:28, Jim Dorrance via 4D_Tech <[email protected]> a 
> écrit :
> 
> I use maxint because it is a constant:)

Yes, in the tread under Benoit suggested something similar:
• store:
  $combo_l:=($tableNum << 16)+$fieldNum
• extract:
  $tableNum:=$combo_l >> 16
  $fieldNum:=$combo_l & 0xFFFF
<http://forums.4d.com/Post/FR/14528346/1/14531890#14536493>
Theoretically, it suits better 4D tables and fields max. Practically, I prefer 
decimal offset 10^5 (a constant actually), it's easier to me in debug - and 
these max are so far away… 

-- 
Arnaud de Montard 



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to