<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 12.12.2017 um 11:01 schrieb Sergey
Bodrov via Lazarus:<br>
</div>
<blockquote type="cite"
cite="mid:CAEnbvREVbGPQBu=HsFAYPMa2G-t_5xcVPq1HXFfXe0+jGyS1Vw@mail.gmail.com">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">BTW, in ipcss.inc
TCSSProps.ReadCommands() lack of Args.Count checking
for 'border-width', 'border-color'
and 'border-style' cause Args[0] out-of-range errors.
<div>Instead of tons checks for Args.Count, I propose single
local function, that returns string from Args by index, or
empty string if there is no such index.</div>
</div>
</div>
</div>
</blockquote>
<br>
Really? It looks fine for me. I even removed some more checks for
Args.Count > 0 when accessing Args[0] - this code is never
reached because it happens inside an Args loop which is never
entered if Args.Count = 0. What did you do to see that there is a
problem?<br>
<br>
</body>
</html>