Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Embedded
»
Embedded - AVR
»
Q V2, FPC-AVR string handling
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
88 year D. Knuth changes ...
by
Seenkao
[
Today
at 06:58:54 am]
Any way to "embed" Window...
by
egsuh
[
Today
at 06:54:51 am]
DataPort StopBits and Flo...
by
cdbc
[
Today
at 06:52:16 am]
could Ardour's YTK be use...
by
dbannon
[
Today
at 05:20:21 am]
GTK3 : Icons have borders...
by
Schmitty2005
[
Today
at 03:56:17 am]
interface and GUID someth...
by
egsuh
[
Today
at 03:31:00 am]
Pocketbase
by
PierceNg
[
Today
at 01:30:48 am]
CADSys4 3D.
by
maurog
[
Today
at 01:00:05 am]
Questions about TFuncSeri...
by
wp
[
Today
at 12:36:23 am]
UOS - pre-compiled librar...
by
Fred vS
[
Today
at 12:34:06 am]
TChart: Wrong default val...
by
wp
[March 12, 2026, 10:14:38 pm]
Pipewire API
by
Fred vS
[March 12, 2026, 10:11:02 pm]
Hello! Anything new?
by
PascalDragon
[March 12, 2026, 09:39:09 pm]
TSplitter color property ...
by
valdir.marcos
[March 12, 2026, 09:20:11 pm]
ShortStrings vs long stri...
by
valdir.marcos
[March 12, 2026, 08:55:02 pm]
Lazarus Bugfix Release 4....
by
dsiders
[March 12, 2026, 08:53:38 pm]
LazPaint (alpha-blending,...
by
CM630
[March 12, 2026, 08:38:30 pm]
Z80 ZX Spectrum and Syste...
by
d2010
[March 12, 2026, 07:58:28 pm]
Qt6/Wayland clipboard: pa...
by
valdir.marcos
[March 12, 2026, 06:27:22 pm]
[ANN] PasBuild 1.5.0 rele...
by
valdir.marcos
[March 12, 2026, 06:19:54 pm]
Synchronizing Lazarus pro...
by
valdir.marcos
[March 12, 2026, 05:46:58 pm]
class not found
by
SA.Blackmon
[March 12, 2026, 05:27:32 pm]
Register global hotkey
by
Thaddy
[March 12, 2026, 04:20:28 pm]
Crystal report edit
by
Petrus Vorster
[March 12, 2026, 03:12:59 pm]
Faster asin() Was Hiding ...
by
MathMan
[March 12, 2026, 01:58:30 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Q V2, FPC-AVR string handling (Read 3495 times)
pascalbythree
Sr. Member
Posts: 286
Q V2, FPC-AVR string handling
«
on:
December 11, 2021, 02:41:41 pm »
Does anybody know what unit i have to use for FPC-AVR to do string handling?
I need for example inttostr
But it does not compile.
Anybody knows what to include ?
Greets, Wouter
Logged
ccrause
Hero Member
Posts: 1094
Re: Q V2, FPC-AVR string handling
«
Reply #1 on:
December 11, 2021, 05:24:20 pm »
IntToStr
is part of the SysUtils unit, which is not yet available for AVR. You can use
Str
which is part of the system unit:
Code: Pascal
[Select]
[+]
[-]
var
s
:
shortstring
;
begin
Str
(
1234
,
s
)
;
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Embedded
»
Embedded - AVR
»
Q V2, FPC-AVR string handling
TinyPortal
© 2005-2018