خرید بک لینک

Vote count: 0

I need to return Min and Max Values of two Integers in most situations in my Pascal Script. But every time I need to create a TStringList and convert it to an Array Of String and then get its Min and Max Values.

I like to have two functions like Min and Max to make this easier like Unit Math in Delphi.

For Example,

Log(IntToStr(Min(1000, 26)))

Output should be 26.

Log(IntToStr(Max(45, 1989)))

Output should be 1989.

Thanks in Advance.

asked 1 min ago

برچسب: io setup getfileversion,io setup getenv,io setup get version from exe,io setup getdatetimestring,io setup get environment variable,io setup get command line parameters,io setup get windows version,io setup getpreviousdata,io setup get computer name,io setup get registry value, نویسنده: استخدام کار تاريخ: جمعه 26 شهريور 1395 ساعت: 22:02

صفحه بندی