MOD operator in <3.80
MOD operator in <3.80
Hi, I've heared new 3.80 version will have the module operator (%). In the meanwhile, since I need to use it, how can I do ? I'm thinking to use assembly, is that realiable ? Thank you.
			
			
									
									
						Modulo
For the previous versions you can use this:
			
			
									
									
						Code: Select all
Procedure.l Mod(nb1.l, nb2.l)
   ProcedureReturn nb1 - ((nb1 / nb2) * nb2)
EndProcedure

