Inno Setup get Min and Max Integer Values in Pascal Script

ساخت وبلاگ

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

back soft...
ما را در سایت back soft دنبال می کنید

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

خبرنامه