Jump to content

dcl Instablility


flowerrobot

Recommended Posts

Have you noticed that dcl code will work some time, yet other times not.

That it must be done it a particular way, or am imagining it all

 

 

For example

(setq anglethickness (atoi(get_tile \"anglethicknesskey\")))

will not work

 

while

 

(setq pen (atoi(get_tile \"anglethicknesskey\")))

this will works,

 

if i paste in into the debu-gger minus "/" works fine.

 

1. Why?

2. What eles have you noticed?

 

 

Ive noticed sometimes you carnt have a space between brackets,manly the first one.

 

Regards

Flower

 

 

lol @ edit big man, i thought i could get away with it

Link to comment
Share on other sites

Well thats what i thought the first few time, but when you recive a blanent thing, of simply changing the varibles name and it works , even in when there places straight after each other, the first one will work, the second will crash the program,

 

One would simply say change the name, but its the same used threw out my code, and i dont really want to change it all for one item

Link to comment
Share on other sites

Nah man, I wish

 

I assume you dont use notpad++, but when you select a word, it will hilight the rest of them, and i copy the variable in most cases. which is extremly helpful

 

And as i said, i can copy the code that dosnt work, change the varible name "anglethickness" to "pen" and it works.

 

Thanks for the input, its really pissing me off atm aye its such a simple item, yet it wont funtion properly

 

The thing is i carnt even animate it, because it crashes when i do, at the first menu, and ive had that inplace for months

Link to comment
Share on other sites

Man you used to be cool :P

Sorry for the broken code, its quite big

Please spot the error

   
(start_list "anglethicknesskey")    
   (mapcar 'add_list '("6" "8"))
;(AngleThicknessProgn EaSelection))
  (end_list)
(set_tile "anglesize" (itoa EaSelection))

(action_tile "accept" "(setq ok 1)(setq EaSelection (atoi(get_tile \"beamtype\")))(setq anglethickness (atoi(get_tile \"anglethicknesskey\")))(setq sectionlength (get_tile \"length\"))(setq RolledId (atoi(get_tile \"rolled\")))(setq RolledAngle (atoi(get_tile \"angle\")))(setq ToeTrim (get_tile \"angle\"))(done_dialog)")

 

 

 

: popup_list {
   label = "&Thickness";
   key = "anglethicknesskey";  
   allow_accept = true;   
   }
  

Link to comment
Share on other sites

Man you used to be cool :P

 

Whats that meant to mean... :unsure:

 

Sorry for the broken code, its quite big

Please spot the error

   
(start_list "anglethicknesskey")    
   (mapcar 'add_list '("6" "8"))
;(AngleThicknessProgn EaSelection))
  (end_list)
(set_tile "anglesize" (itoa EaSelection))

(action_tile "accept" "(setq ok 1)(setq EaSelection (atoi(get_tile \"beamtype\")))(setq anglethickness (atoi(get_tile \"anglethicknesskey\")))(setq sectionlength (get_tile \"length\"))(setq RolledId (atoi(get_tile \"rolled\")))(setq RolledAngle (atoi(get_tile \"angle\")))(setq ToeTrim (get_tile \"angle\"))(done_dialog)")

 

: popup_list {
   label = "&Thickness";
   key = "anglethicknesskey";  
   allow_accept = true;   
   }
  

 

 

Can't see anything immediate tbh.... but code doesn't lie, it is what it is.

Link to comment
Share on other sites

Can't see anything immediate tbh.... but code doesn't lie, it is what it is.

 

lol :D

 

 

Indeed, what you say is true, looks good but isnt, its highly frustrating.

 

Thanks for your time.

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