| Prev Next 
The min macro compares two values and returns the smaller one. The data
type can be any numeric data type, signed or unsigned. The data type of the
arguments and the return value is the same. 
 
min(
 Parameters
value1
Specifies the first of two values. 
value2
Specifies the second of two values. 
 Return Values
The return value is the smaller of the two specified values. 
 Remarks
The min macro is defined as follows: 
 #define min(a, b)  (((a) < (b)) ? (a) : (b)) 
  See Also
max
 
 | file: /Techref/os/win/api/win32/mac/src/mac03_3.htm, 1KB, , updated: 2000/4/7 12:06, local time: 2025/10/31 09:43, 
 
216.73.216.212,10-3-97-86:LOG IN | 
 
 |  | ©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.massmind.org/tecHREF/os/win/api/win32/mac/src/mac03_3.htm"> min</A>
 | 
 
 | Did you find what you needed? | 
 
 |  | Welcome to www.massmind.org! | 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
.
 |