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
« previous
next »
Print
Pages: [
1
]
Author
Topic: Q V2, FPC-AVR string handling (Read 3827 times)
pascalbythree
Sr. Member
Posts: 292
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: 1121
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