|
Josh @ Dreamland
|
|
Reply #1 Posted on: May 22, 2013, 07:25:43 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
ENIGMA depends on file_find functions in the compiler, so they are almost certainly implemented in the engine. What platform aren't they working on?
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
Josh @ Dreamland
|
|
Reply #3 Posted on: May 23, 2013, 08:51:11 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Assuming [snip]home[/snip] is a variant or string, you don't need to keep casting it to string(), but other than that, you are fine. The issue is that forthevin moved the header into the enigma_user namespace, but did not move the source (or, more likely, the implementation of that particular function was in another castle).
I'll fix that real quick; hang tight.
EDIT: Seems this has nothing to do with forthevin. The function just wasn't implemented.
EDIT2: I have implemented those functions and [snip=edl]get_environment_variable()[/snip], which I recommend you use in place of [snip=edl]getenv()[/snip]
|
|
« Last Edit: May 23, 2013, 09:21:20 am by Josh @ Dreamland »
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
gra
|
|
Reply #4 Posted on: May 23, 2013, 09:25:26 am |
|
|
Joined: Feb 2013
Posts: 147
|
Assuming home is a variant or string, yes EDIT2: I have implemented those functions and get_environment_variable(), which I recommend you use in place of getenv() thanks josh for your speed i try
|
|
|
Logged
|
|
|
|
|
Josh @ Dreamland
|
|
Reply #6 Posted on: May 23, 2013, 12:50:51 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Unfortunately, I was unable to test the functions before committing them due to my current platform. Hang tight, I'll fix that.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
gra
|
|
Reply #7 Posted on: May 23, 2013, 01:26:46 pm |
|
|
Joined: Feb 2013
Posts: 147
|
ok , for now , i use old version, becouse , in my game this function (getenv) is essential EDIT can be the substitution ov lateral gm? i try with original
|
|
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #8 Posted on: May 23, 2013, 01:41:50 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
That's fine. I've committed the fix now; you should be able to use those functions.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
|