← board

IntToStr not available

Symptom

examples/primes/sieve.pas:92 calls IntToStr(n):

pascal26:92: error: undefined variable (IntToStr)

No IntToStr exists in lib/rtl or the builtins.

Direction

Add IntToStr (SysUtils-style) to the RTL — likely lib/rtl next to the existing string helpers. Integer (and ideally Int64) → decimal string. Track B work; current platform first, cross parity later. Add a small unit test and seed examples/primes into make demos going green.

Log