Hello!

  I have some CONSTANT: words, which are used in more CONSTANT:s calculated at 
compile-time:

IN: iqlink.const

! Bits are rectangular, their size in pixels is here.
! All other constants are based on this one.
CONSTANT: half-bit-size 6

USING: iqlink.const ;
IN: iqlink.cell.gadget

CONSTANT: bit-size $[ half-bit-size 2 * ]
CONSTANT: cell-half-height $[ half-bit-size 3 * ]
CONSTANT: cell-half-width $[ half-bit-size 3 * ]
CONSTANT: cell-height $[ half-bit-size 6 * ]
CONSTANT: cell-width $[ half-bit-size 6 * ]

  I've been reading the docs about the foldable and flushable words, and I 
don't quite understand the use cases for them. Should I use these words to mark 
my constants, or should I keep things as they are?

  What if I were to change my UI to be dynamically scalable and change the 
half-bit-size value at run-time? Should I use the foldable and flushable then?

---=====---
 Александр

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to