 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
S_R Guest
|
Posted: Fri May 14, 2004 11:43 pm Post subject: Win98 problems w. stringlen & env. variables |
|
|
At least on two systems, I found these apparent anomalies (or, of course, I may have misunderstood what was supposed to happen):
setenv,alen,10
inputbox,answer,test,test string?
stringlen,alen,answer
inputbox,discard,test2,the length of %answer% is %alen%
produces the correct answer on XP, but always 10 on Win98se.
and
envset,savedname,savethisname
setenv,retrievedname,%savedname%
retrives 'savethisname' consistently on XP, but only sometimes on Win98SE (I haven't figured out what distingishes the cases that work and don't yet).
As usual, much thanks to Chris and others for all the work on AHK.
-SR |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Sat May 15, 2004 2:49 am Post subject: Re: Win98 problems w. stringlen & env. variables |
|
|
| Quote: | | produces the correct answer on XP, but always 10 on Win98se. |
I tried that exact script on Win98se here but couldn't reproduce the problem. Can you retest it as-is to verify?
| Quote: | envset,savedname,savethisname
setenv,retrievedname,%savedname% |
Yes I'm getting that same problem too. It seems that setting environment variables on Win9x isn't working. I'll try to find out why. Thanks for reporting it. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|