Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread {$I } Request
Mon, Apr 18 2016 12:17 PMPermanent Link

Kane Jun

EZ-Tech, Inc

Hi Mr Tim.

I don't know how hard to add {$Include } compiler directive as in delphi.
I hope it is not only for me.

I made my own library which I use for all my programs.

I wish I can do so with EWB.

Or is there any work around?

As always thanks.
Mon, Apr 18 2016 1:05 PMPermanent Link

Kane Jun

EZ-Tech, Inc

Kane Jun wrote:

Hi Mr Tim.

I don't know how hard to add {$Include } compiler directive as in delphi.
I hope it is not only for me.

I made my own library which I use for all my programs.

I wish I can do so with EWB.

Or is there any work around?

As always thanks.

----------------------------

I guest I did not make my self clear.

What I want is to use delphi pas file.

I have been copy and paste delphi pas file.

I wish I can change only one file (delphi pas) and EWB can use it since they are both pascal file...

Does anybody achieve this?

Please let me know

Thanks.
Mon, Apr 18 2016 6:12 PMPermanent Link

Walter Matte

Tactical Business Corporation


EWB Pascal has differences, as compared to Delphi's implementation of Pascal .

Don't expect a Delphi PAS unit to work unchanged in EWB.

Walter
Mon, Apr 18 2016 7:05 PMPermanent Link

Kane Jun

EZ-Tech, Inc

Walter Matte wrote:


EWB Pascal has differences, as compared to Delphi's implementation of Pascal .

Don't expect a Delphi PAS unit to work unchanged in EWB.

Walter


Hi Walter.

Thank you for your quick reply.

I don't expect whole EWB *unit* or Delphi *unit* to be used.

I have a lot of my own string function which are compatible with EWB and Delphi.
I wish there is a mechanism  that my code can be shared on both language instead of copy and paste.
Tue, Apr 19 2016 4:38 AMPermanent Link

Matthew Jones

Kane Jun wrote:

> I wish there is a mechanism  that my code can be shared on both
> language instead of copy and paste.

I found copy and paste worked really well - there are a few minor
differences you have to take account of, so you can keep the core code,
but tweak appropriately. But you don't make mistakes with the code in
one place that breaks the other.

--

Matthew Jones
Tue, Apr 19 2016 5:41 AMPermanent Link

Walter Matte

Tactical Business Corporation

It sounds like you have a number of useful functions.  Make one pas unit in EWB and reuse it.  One time small conversion - it sounds like these helper functions don't change very often.

Walter
Tue, Apr 19 2016 7:23 AMPermanent Link

Kane Jun

EZ-Tech, Inc

>Walter Matte wrote:

>It sounds like you have a number of useful functions.  Make one pas unit in EWB and reuse it.  One time small >conversion - it sounds like these helper functions don't change very often.

>Walter

Hi Walter/Matthew

It seems that I am the only one needing this feature. If that is the case this case must be closed.
Tue, Apr 19 2016 8:40 AMPermanent Link

Trinione

<< It seems that I am the only one needing this feature. If that is the case this case must be closed.>>

I don't think this is a 'feature'. Certain commands may not be available in EWB Pascal. I have found workarounds or writing them myself is sufficient. So, run your programs and see where they stop and change the code/write a function accordingly.
Tue, Apr 19 2016 8:40 AMPermanent Link

Trinione

<< It seems that I am the only one needing this feature. If that is the case this case must be closed.>>

I don't think this is a 'feature'. Certain commands may not be available in EWB Pascal. I have found workarounds or writing them myself is sufficient. So, run your programs and see where they stop and change the code/write a function accordingly.
Tue, Apr 19 2016 8:56 AMPermanent Link

Kane Jun

EZ-Tech, Inc

Trinione wrote:

<< It seems that I am the only one needing this feature. If that is the case this case must be closed.>>

I don't think this is a 'feature'. Certain commands may not be available in EWB Pascal. I have found workarounds or writing them myself is sufficient. So, run your programs and see where they stop and change the code/write a function accordingly.

Thanks Trinione

I will certainly try.
Image