Code: Select all
Procedure Ctg(Angle)
ProcedureReturn Cos(Angle)/Sin(Angle)
EndProcedure
Code: Select all
Procedure Ctg(Angle)
ProcedureReturn Cos(Angle)/Sin(Angle)
EndProcedure
Code: Select all
Macro Cot(_x_)
(1.0/Tan(_x_))
EndMacro
++ that It would not make sense if for of each built-in PB function the reciprocal would also be built into PB.Little John wrote: ↑Sun Feb 10, 2013 10:59 am Here you are:It would not make sense if for of each built-in PB function the reciprocal would also be built into PB.Code: Select all
Macro Cot(_x_) (1.0/Tan(_x_)) EndMacro