[fpc-pascal] Any chance to add the TStringBuilder to FCL?
Marco van de Voort
marcov at stack.nl
Mon Apr 18 09:53:12 CEST 2016
In our previous episode, J?rgen Hestermann said:
> > in loops. (it is that way in M2 btw, where the basetype is unsigned. Not
> > happy with that)
> I don't know what you mean.
> A For-loop has it's limits anyway.
Limits like in
for i:=0 to someexpression.count-1
are evaluated as expression before using the result to for. If count=0 this
would become for i:=0 to $FFFFFFFF, so you need to guard this with a if
This is a common construct so quite annoying.
More information about the fpc-pascal