Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 12/04/26 19:03
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 1,998 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to reset string's input? #397338
03/17/12 21:40
03/17/12 21:40
Joined: Nov 2009
Posts: 70
Siwler Offline OP
Junior Member
Siwler  Offline OP
Junior Member

Joined: Nov 2009
Posts: 70
I have two strings, sring1 has preset value and string2 value has to be typed in to check if its the same as string1's value.

When I type in the correct value for string2 and door unlocks, value(numbers typed in) stay on screen.

What code do I need to reset string2's inputted value to none, so it don't show on screen?


Honesty will get you far, were dishonesty will get you only so far in life.

Re: How to reset string's input? [Re: Siwler] #397339
03/17/12 21:52
03/17/12 21:52
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
for reset the string:
Code:
string2 = str_create("#4"); // a string of 4 spaces

or:

str_cpy (string2,"    ");


for hide the text from screen, reset the SHOW-flag of this text.

Last edited by Widi; 03/17/12 21:55.
Re: How to reset string's input? [Re: Widi] #397343
03/17/12 22:14
03/17/12 22:14
Joined: Nov 2009
Posts: 70
Siwler Offline OP
Junior Member
Siwler  Offline OP
Junior Member

Joined: Nov 2009
Posts: 70
Thank you so much.

I was looking at the str_cpy in the code that I was working on but I just couldn't put 2 and 2 together and use it.
LOL, I suck at this. laugh

Thank you again.

Last edited by Siwler; 03/17/12 22:19.

Honesty will get you far, were dishonesty will get you only so far in life.


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1