[Sticky] INDEX: list of Proclaim Maths functions

Solved a problem in an elegant manner and want to show off your code? Know a hard-to-find feature? Post it here for the benefit of others. Questions don't belong here.
steve
Posts: 446
Joined: Wed Nov 30, 2011 10:20 pm
Been thanked: 105 times

Re: [Sticky] INDEX: list of Proclaim Maths functions

Post by steve »

one use is for comparison operators
e.g.

Code: Select all

IF 1 NOT= 1 THEN 
    MESSAGE( "not eq" )  
ELSE 
    MESSAGE( "eq" ) 
END 
this 'compiles' when syntax checked to

Code: Select all

IF 1 <> 1 THEN 
    MESSAGE( "not eq" )  
ELSE 
    MESSAGE( "eq" ) 
END 
likewise there are 'translations' for
NOT=,!=,LE,GE,LT,GT
Last edited by steve on Fri Mar 05, 2021 12:57 pm, edited 1 time in total.

Code Killer
Posts: 39
Joined: Thu Oct 29, 2015 10:04 am
Location: Kent
Has thanked: 30 times
Been thanked: 2 times

Re: [Sticky] INDEX: list of Proclaim Maths functions

Post by Code Killer »

Hi Steve,

I was expecting it was going to be more unique. :lol:

Thanks again :D