1. version 4.xx question

What is the purpose of the file fwdref.e

Does it add some special feature to eu4 ?

There is no mention of forward references in the manual.

new topic     » topic index » view message » categorize

2. Re: version 4.xx question

BRyan said...

What is the purpose of the file fwdref.e

Does it add some special feature to eu4 ?

It's used in conjuction with other changes to implement forward referencing.

BRyan said...

There is no mention of forward references in the manual.

It's mentioned in the release notes, since 4.0.0 RC2: http://openeuphoria.org/docs/release_4_0_0_rc2.html#_6501_version400releasecandidate2december82010

new topic     » goto parent     » topic index » view message » categorize

3. Re: version 4.xx question

BRyan said...

What is the purpose of the file fwdref.e

Does it add some special feature to eu4 ?

There is no mention of forward references in the manual.

fwdref.e is a part of the euphoria written front end. It tracks and resolved forward references of symbols in parsed euphoria code. In the discussion of scopes, it says:

TFM said...

4.2.3.1 Why scopes, and what are they?

...

It is possible to use a user-defined identifier before it has been declared, provided that it will be declared at some point later in the program.

One of the biggest benefits of this is that you can put all of your includes at the top of a file, and two files can reference each others symbols without having to resort to routine_ids or worrying about which file includes the other where. Of course, this also means that you don't need to reorder your functions in a file in order for other parts of that file to access them, so you can organize (or not!) the order of routines however you like.

Matt

new topic     » goto parent     » topic index » view message » categorize

4. Re: version 4.xx question

Thanks Bernie

new topic     » goto parent     » topic index » view message » categorize

5. Re: version 4.xx question

The forward references in the DOS source code was never brought up to date.

Is this going to be done ?

new topic     » goto parent     » topic index » view message » categorize

6. Re: version 4.xx question

BRyan said...

The forward references in the DOS source code was never brought up to date.

Is this going to be done ?

Patches for this will be accepted.

new topic     » goto parent     » topic index » view message » categorize

7. Re: version 4.xx question

jimcbrown said...
BRyan said...

The forward references in the DOS source code was never brought up to date.

Is this going to be done ?

Patches for this will be accepted.

Never mind I'll just use ver 3.1.1

new topic     » goto parent     » topic index » view message » categorize

8. Re: version 4.xx question

BRyan said...

Never mind I'll just use ver 3.1.1

For?

new topic     » goto parent     » topic index » view message » categorize

9. Re: version 4.xx question

Hi,
If you really need forward referencing in a dos Euphoria version,
I believe there was a Eu 2.2 or 2.3 alpha or beta that allowed it by accident.
Rob Craig, the creator of Euphoria was against a number of features that are now part of the Open Source versions, especially GOTO.
In this case, the forward referencing feature was quickly "fixed" by him and another release made.
Possibly Derek Parnell on this forum would remember the exact version, he asked Rob to keep the feature at the time.
Otherwise, search the archive and look at the change logs of the version changes, or even the message logs.
Of course, you would have to live with all the changes and bugs since that version.

HTH!

new topic     » goto parent     » topic index » view message » categorize

10. Re: version 4.xx question

fizzpopsoft said...

Hi,
If you really need forward referencing in a dos Euphoria version,
I believe there was a Eu 2.2 or 2.3 alpha or beta that allowed it by accident.
Rob Craig, the creator of Euphoria was against a number of features that are now part of the Open Source versions, especially GOTO.
In this case, the forward referencing feature was quickly "fixed" by him and another release made.
Possibly Derek Parnell on this forum would remember the exact version, he asked Rob to keep the feature at the time.
Otherwise, search the archive and look at the change logs of the version changes, or even the message logs.
Of course, you would have to live with all the changes and bugs since that version.

HTH!

Here's the message: http://openeuphoria.org/forum/m/26308.wc

Thought that this thread, a few years later, would also be of interest: http://openeuphoria.org/forum/60639.wc#60639

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu