[yunqa.de] AnsiString vs. WideString
- From: Gilles <gilles.ganault@xxxxxxx>
- To: yunqa@xxxxxxxxxxxxx
- Date: Fri, 02 May 2008 20:10:19 +0200
Hello
I'm a semi-newbie Delphi newbie. I'm going through the samples to learn how
to use DISQLite, and I noticed in
"Demos\DISQLite3_StringGrid\DISQLite3_StringGrid_fMain.pas" the use of
AnsiStrin and WideString:
procedure TfrmStringGrid.btnUpdate_Click(Sender: TObject);
var
s: AnsiString;
SQL: WideString;
Stmt: TDISQLite3Statement;
begin
s := StringGrid.Cells[c, r];
if InputQuery('Update', Format('Enter new %s:', [ColumnNames[c]]), s)
then begin
SQL := Format(UpdateSql, [ColumnNames[c]]);
Is there a reason for using both data types?
Thank you.
_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
http://www.freelists.org/list/yunqa
- Follow-Ups:
- [yunqa.de] Re: AnsiString vs. WideString
- From: Delphi Inspiration
Other related posts:
- » [yunqa.de] AnsiString vs. WideString
- » [yunqa.de] Re: AnsiString vs. WideString
- [yunqa.de] Re: AnsiString vs. WideString
- From: Delphi Inspiration