سؤال

Is it possible to port Delphi unit with a scoped name like MyLib.Classes.pas to FPC (ver 2.6.0) without renaming it to remove the scope prefix MyLib.?

هل كانت مفيدة؟

المحلول

For the moment the current FPC (2.6.0) doesn't support dotted unit names , exist a proposal about this feature and even a report, but appears closed and marked as won't fix

نصائح أخرى

FPC's Development version (2.7.1) does support dotted unit name. Please see http://wiki.freepascal.org/FPC_New_Features_Trunk#Delphi-like_namespaces_units

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top