![]() |
CharToByte
Wie bekomme ich einen Char in eine Bytevariable?
Code:
const replaceWith: String = 'Test';
begin SetLength(buf,Length(replaceWith)); for i:=0 to Length(buf)-1 do begin buf[i] := StrToByte(replaceWith[i+1]); //StrToByte fehlt mir. end; end; |
Re: CharToByte
mit
![]() |
Re: CharToByte
Zitat:
|
Re: CharToByte
Hrm genau das habe ich gebraucht. Musste ja so einfach sein ;) Thx.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:39 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz