Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
Re: Boolean to String?
3. Jan 2010, 17:04
Hi,
Delphi-Quellcode:
const BoolStr: Array[Boolean] of String = ('False','True');
var b: Boolean;
begin
b := true;
ShowMessage(BoolStr[b]);
end;
Michael "Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
|
|
Zitat
|