1. version 4.xx question
- Posted by BRyan Oct 07, 2013
- 1394 views
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.
2. Re: version 4.xx question
- Posted by jimcbrown (admin) Oct 07, 2013
- 1381 views
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.
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
3. Re: version 4.xx question
- Posted by mattlewis (admin) Oct 07, 2013
- 1381 views
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:
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
5. Re: version 4.xx question
- Posted by BRyan Oct 07, 2013
- 1397 views
The forward references in the DOS source code was never brought up to date.
Is this going to be done ?
6. Re: version 4.xx question
- Posted by jimcbrown (admin) Oct 07, 2013
- 1393 views
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.
7. Re: version 4.xx question
- Posted by BRyan Oct 07, 2013
- 1371 views
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
8. Re: version 4.xx question
- Posted by jimcbrown (admin) Oct 07, 2013
- 1381 views
Never mind I'll just use ver 3.1.1
For?
9. Re: version 4.xx question
- Posted by fizzpopsoft Oct 09, 2013
- 1304 views
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!
10. Re: version 4.xx question
- Posted by jimcbrown (admin) Oct 09, 2013
- 1322 views
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