Problem with InKeyStr()

Report any Hollywood bugs here
Post Reply
User avatar
Allanon
Posts: 441
Joined: Sun Feb 14, 2010 8:53 pm
Location: Italy
Contact:

Problem with InKeyStr()

Post by Allanon » Sat Aug 11, 2018 11:01 am

Hello,

if I set the password flag the InKeyStr() function returns asterisks instead of the typed string.

Code: Select all

a = InKeyStr(#ALL, 100, False)
DebugPrint(a)
b = InKeyStr(#ALL, 100, True)
DebugPrint(b)
DebugPrompt("HIT ENTER")
I'm using it with Layers enabled, but the same problem exists also without layers...
----------------------------
[Allanon] Fabio Falcucci
AMC - Creative Development // Docs Site // Support Forum
Support me on Patreon for Hollywood libraries!

Bugala
Posts: 693
Joined: Sun Feb 14, 2010 8:11 pm

Re: Problem with InKeyStr()

Post by Bugala » Sat Aug 11, 2018 4:13 pm

Seems to work right here. Hollywood7.1 and Windows.

First it shows typed letters, second try it shows asterisk.

SamuraiCrow
Posts: 173
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

Re: Problem with InKeyStr()

Post by SamuraiCrow » Sat Aug 11, 2018 9:53 pm

@Bugala

Only the echo to the console is supposed to be asterisks. The variable assignment is supposed to be unaffected.

Bugala
Posts: 693
Joined: Sun Feb 14, 2010 8:11 pm

Re: Problem with InKeyStr()

Post by Bugala » Sat Aug 11, 2018 9:58 pm

@SamuraiCrow

ah, i see. That happens here too that the variable assignment is asterisks as well.

User avatar
airsoftsoftwair
Posts: 2628
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Problem with InKeyStr()

Post by airsoftsoftwair » Mon Aug 13, 2018 10:25 pm

Oops, will be fixed. Thanks for reporting!

Post Reply