Jump to content

condition/and statement help?


LosGirk

Recommended Posts

Can someone please tell me what's wrong here?

(cond
(and (>= (atof edit1$) 0)( <= (atof edit1$) 7.5)
(vl-cmdf ".-insert" "L:\\2015 STANDARDS\\2015 BLOCKS\\VANGS\\RV01-RV10TA.dwg" p1 "" "" "")
))

 

Much thanks!

Link to comment
Share on other sites

(if
 (and 
   (>= (atof edit1$) 0)
   ( <= (atof edit1$) 7.5)
 )
 (vlf-cmdf ".-insert" "L:\\2015 STANDARDS\\2015 BLOCKS\\VANGS\\RV01-RV10TA.dwg" p1 "" "" "")
)  

 

or

 

(if (<= 0 (atof edit1$) 7.5)
  (vl-cmdf ".-insert" "L:\\2015 STANDARDS\\2015 BLOCKS\\VANGS\\RV01-RV10TA.dwg" p1 "" "" "")
) 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...