Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

(initget 6)

5 REPLIES 5
Reply
Message 1 of 6
paul128
824 Views, 5 Replies

(initget 6)

Hi there folks, Im using autolisp and came across this (initget 6) and i was woundering what is ment by the 6)?

 

thanks 

5 REPLIES 5
Message 2 of 6
pbejse
in reply to: paul128

(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.

Message 3 of 6
paul128
in reply to: pbejse

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 

Message 4 of 6
pbejse
in reply to: paul128


@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.

 


 

 

Message 5 of 6
paul128
in reply to: pbejse

thanks mate 🙂 understood 😄

Message 6 of 6
paul128
in reply to: paul128

could you help me out understanding the while commad that i posted?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost