AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen .NET-Sprachen Prism delphi prism include directive
Thema durchsuchen
Ansicht
Themen-Optionen

delphi prism include directive

Ein Thema von chuckholdt · begonnen am 22. Feb 2011 · letzter Beitrag vom 23. Feb 2011
 
chuckholdt

Registriert seit: 2. Dez 2007
Ort: Hamburg
15 Beiträge
 
Delphi 2009 Professional
 
#3

AW: delphi prism include directive

  Alt 23. Feb 2011, 09:30
Hi Sebastian,

we want to use it because of ....

We use our code on "both sides", win32 delphi and prism.

In general this works quite nicely, but there are some inconveniences.

The one we would like the include for is the "public class" problem. There is no way to tell prism that all classes in the interface are public, so we have to write

{$ifdef prism) public ($endif) class xyz =class(base)

except of the extra text, no problem

but.....

the delphi code formatter can't handle that, in units using above ifdef, format is totally destroyed when using format code

if we could have put above ifdef.... in an include file, delphi is fine


Two wishes, that could make prism even better

option to make all things implicit public in the interface
option to ignore destructors

and maybe the possibility to use enumeration values without the type prefix, as it is possible in Delphi

Chuck

P.s.

Where is the right place to post reports about bugs/ameliorations in prism/shineon
thomas (chuck) holdt
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:15 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz