خطاء Incompatible types: 'Integer' and 'TCaption
#1
السلام عليكم

كود :
var s : integer; begin for s := Edit1.Text to Edit2.Text do Memo1.Lines.Add(s);
واضح : بداية الحلقة تصعديا من المدخل في Edit1 الى Edit2
وتم تعريف الحلقة با integer لي تعامل معها كا ارقم طبعية و اضافت الحلقة في Memo1
لكن يوجد خطاء في كود : for s := Edit1.Text to Edit2.Text do
[DCC Error] Unit1.pas(32): E2010 Incompatible types: 'Integer' and 'TCaption'
الرد


الردود في هذا الموضوع
خطاء Incompatible types: 'Integer' and 'TCaption - بواسطة boy_bpy - 23-07-2012, 02:24 AM
خطاء Incompatible types: 'Integer' and 'TCaption - بواسطة mobile - 23-07-2012, 02:35 AM
خطاء Incompatible types: 'Integer' and 'TCaption - بواسطة لؤي - 23-07-2012, 07:53 PM
خطاء Incompatible types: 'Integer' and 'TCaption - بواسطة لؤي - 23-07-2012, 09:07 PM
خطاء Incompatible types: 'Integer' and 'TCaption - بواسطة Agmcz - 24-07-2012, 01:41 PM
خطاء Incompatible types: 'Integer' and 'TCaption - بواسطة Agmcz - 24-07-2012, 04:57 PM
خطاء Incompatible types: 'Integer' and 'TCaption - بواسطة cargem - 24-07-2012, 11:10 PM
خطاء Incompatible types: 'Integer' and 'TCaption - بواسطة Agmcz - 23-07-2012, 07:00 PM
خطاء Incompatible types: 'Integer' and 'TCaption - بواسطة لؤي - 23-07-2012, 07:10 PM

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم