Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Problems with relations in assembly

pep

New member
Hi,

i'm a student and i've to make relations ni proe.eg: when i use an 'if' , 'else' isn't accepted.the mission i've to program is to complicated to write here, but if somebody thinks he/she could help me, i can explane it in a mail with attachement. Hope that a lot of specialist will read this and give me good information :)



greets

pep
 
hi there is no problem in if else usage mail me your qurrey

the general syntax is



if condition



else



endif



hope u know this

mail me your qurry for detailed reply
 
Also make sure your statement is not nested in anouther if statement. You can nest statements, but you need to tab them out so Pro knows how they read!
 
Also make sure your statement is not nested in anouther if statement. You can nest statements, but you need to tab them out so Pro knows how they read!



example



if value==100



if value2==50



else



endif



end if
 
My tabulation did not come through!!!! Imagine the underscores as spaces!



if value==100



__if value2==50



__else



__endif



end if
 

Sponsor

Articles From 3DCAD World

Back
Top