Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 20,168 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
dabolong, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
TEXT.pstring vs. inkey #189781
03/21/08 13:20
03/21/08 13:20
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline OP
Expert
fogman  Offline OP
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
I´ve this snippet of code:

Code:

action bla()
{
TEXT* txtMyText;
txtMyText = txt_create(3,13);

wait(1);
set(txtMyText, VISIBLE);
inkey((txtMyText.pstring)[0]);
}



And all I get is an "acknex.exe has encountered a problem and needs to close".
Any ideas what´s wrong here?


no science involved
Re: TEXT.pstring vs. inkey [Re: fogman] #189782
03/21/08 13:40
03/21/08 13:40
Joined: Oct 2003
Posts: 702
Z
zazang Offline
User
zazang  Offline
User
Z

Joined: Oct 2003
Posts: 702
Logically it looks ok,but I think I had encountered a similar problem wherein I couldn't use a text pstring like a normal string.


I like good 'views' because they have no 'strings' attached..
Re: TEXT.pstring vs. inkey [Re: zazang] #189783
03/21/08 14:04
03/21/08 14:04
Joined: Oct 2002
Posts: 361
Germany Cologne
hack-panther Offline
Senior Member
hack-panther  Offline
Senior Member

Joined: Oct 2002
Posts: 361
Germany Cologne
Der String muss erstmal gefüllt werden...

Code:
str_cpy((txtMyText.pstring)[0], "#100");



Dann sollte es gehen....

Re: TEXT.pstring vs. inkey [Re: hack-panther] #189784
03/21/08 14:33
03/21/08 14:33
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline OP
Expert
fogman  Offline OP
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
Vielen Dank. Für´s nächste mal weiss ich bescheid.


no science involved

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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