In addition to functions, constants can be defined in a macro as well, for example the p constant

September 2, 2017 · Posted in Uncategorised 

(plus) func tion will sum two or more val ues to gether The SQRT func tion will cal cu late the square root of a given num ber Many other func tions are avail able, for arith metic, algebraic, trig o no metric, and many other calculations


In addition to functions, constants can be defined in a macro as well, for example the p constant


with the value of 314159265359


Logical Functions


Log i cal func tions – also known as log i cnc plate drilling machine cal op er a tors – are used in a macro pro gram for loop ing and branch ing pur poses, some times called a di ver gence Loop ing and branch ing means a change


in the pro gram flow that is based on – and de pend ent on – a cer tain con di tion that has been pre vi –


ously de fined


cnc drill Machine


We are quite fa mil iar with the con cept of log i cal op er a tors in ev ery day life, we just don鈥檛 call


them that In Eng lish lan guage, there is a short word ‘if’ We use it very fre quently to pres ent a


cer tain state ment based on a con di tional sit u a tion For ex am ple, hole punching machine we may say, 鈥淚f I have time, I will


visit you锟? That state ment means that I can only visit you, if I have time, oth er wise, it will not be pos si ble, and I can not visit you at all These out comes are con di tional The ‘if’ word im plies a choice based on the re sult of a cer tain con di tion


In mac ros, there are two func tions that are used with a given con di tion The given con di tion


may be checked (some pro drilling machine gram mers may say 鈥榯ested锟?or 鈥榚val u ated锟? on sev eral grounds, us ing


the com par i son op er a tors, such as ‘greater than’ , ‘equal to’ , ‘less than or equal to’ , and sev eral oth ers, used to gether with the ‘if’ func tion These op er a tors are called the Boolean op er a tors, named af ter their in ven tor George Boole (1815-1864), an Eng lish math e ma ti cian They are also


called the log i cal op er a tors The given con di tion can be eval u ated (tested) only once, us ing the ‘if’


check It may also be eval u ated many times, pro gres sively, us ing a loop func ti

Comments

Leave a Reply