Hi there folks, Im using autolisp and came across this (initget 6) and i was woundering what is ment by the 6)?
thanks
(initget 6)
(initget 2)
(initget 4)
2 (bit 1) Prevents the user from responding to the request by entering zero.
4 (bit 2) Prevents the user from responding to the request by entering a negative value.
thank you 🙂
now i understand 🙂
how would you explain 2 and 4? are they key words for the bits or are they the bit intergers? I know there added to gether to give 6
thanks
@paul128 wrote:thank you 🙂
now i understand 🙂
how would you explain 2 and 4? are they key words for the bits or are they the bit intergers? I know there added to gether to give 6
thanks
Thats right. Bit codes
From the Help file
bits
A bit-coded integer that allows or disallows certain types of user input. The bits can be added together in any combination to form a value between 0 and 255. If no bits argument is supplied, zero (no conditions) is assumed.