ورود

View Full Version : اشکال در تعریف Procedure و Function



سیروس مقصودی
سه شنبه 19 تیر 1403, 23:57 عصر
با سلام

من در unit ی که نوشته نزدیک 190 فانکشن و پراسیجر دارم میخواهم یک فانکشن یا پراسیجر به unit ام اضافه کنم پیام زیر ظاهر میشود . برای رفع این مشکل چکار بایستی بکنم

با تشکر

یوسف زالی
چهارشنبه 20 تیر 1403, 10:40 صبح
سلام. خب پیاده سازیش نکردید.

دلفــي
شنبه 23 تیر 1403, 14:15 عصر
با سلام

من در unit ی که نوشته نزدیک 190 فانکشن و پراسیجر دارم میخواهم یک فانکشن یا پراسیجر به unit ام اضافه کنم پیام زیر ظاهر میشود . برای رفع این مشکل چکار بایستی بکنم

با تشکر


E2065 Unsatisfied forward or external declaration '%s' (Delphi)

This error message appears when you have a forward or external declaration of a procedure or function, or a declaration of a method in a class or object type, and you don't define the procedure, function or method anywhere
Maybe the definition is really missing, or maybe its name is just misspelled
Note that a declaration of a procedure or function in the interface section of a unit is equivalent to a forward declaration - you have to supply the implementation (the body of the procedure or function) in the implementation section
Similarly, the declaration of a method in a class or object type is equivalent to a forward declaration