Book a Demo

Author Topic: Virtual Methods  (Read 4508 times)

Hart

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Virtual Methods
« on: July 15, 2002, 11:28:30 am »
How do I mark methods as 'virtual' (C# and Delphi)?  There is support for abstract, const, etc.

This information also appears to be lost when importing code.  For example importing C# code with virtual methods then immediately exporting looses all the 'virtual' keywords.

Thanks,
Hart

Hart

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Virtual Methods
« Reply #1 on: July 15, 2002, 02:51:11 pm »
Also, how do I inform EA to include 'override' during code generation?

Thanks,
Hart

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Virtual Methods
« Reply #2 on: July 16, 2002, 08:48:06 pm »
Hi,

The next build of EA - out early next week, will include better support for this. For special operation modifiers, an 'Advanced' button is being added to the Operations dialog - in C# this will include the ability to set Override, Virtual & etc. Each language will have 0 or more options that can be set. The code generator will set and use these when parsing and generating code.

Geoff Sparks

Ilia

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Virtual Methods
« Reply #3 on: July 25, 2002, 07:51:08 am »
Thanks a lot for new features.
What about the event keyword?  :)