2 registered members (AndrewAMD, alibaba),
1,184
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: inkey(String*); questions....
[Re: jcl]
#307258
01/28/10 08:59
01/28/10 08:59
|
Joined: Oct 2005
Posts: 4,771 Bay City, MI
lostclimate
OP
Expert
|
OP
Expert
Joined: Oct 2005
Posts: 4,771
Bay City, MI
|
yes, but inkey freezes its current function, so how ame i suposed to modify any string while people are typing.
Last edited by lostclimate; 01/28/10 08:59. Reason: typo
|
|
|
Re: inkey(String*); questions....
[Re: Joey]
#307265
01/28/10 09:49
01/28/10 09:49
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
Expert
|
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
var inkeyStore = inkey(tempStr);
while(inkey_active) { // do stuff in here...
wait(1);
}
That'll work... to make *'s out of your field, there's a easy workaround for that I did ages ago. Read the str_len of the inkey string you pass, and display a 2nd string, created out of *'s, based on the length of the input string... I'f im unclear with that idea, lemme know, i'll paste my code I made for you regards,
|
|
|
|