Page 1 of 1

Passwords

Posted: Fri Mar 05, 2004 5:21 pm
by Sergeant Kumpe
the passwords for: Discount/Reduction, Returns/Payouts, and File Maiteance will only accept the master password.

Passwords

Posted: Sat Mar 06, 2004 12:03 am
by Dale Harris
It is posible that there are hidden characters in your passwords. Try this, if you are having a problem with a pasword enter an eight letter password. This will force out any hidden characters. Now see if your new eight letter password works. If it does then you have forced out the hidden characters and can now change the pasword back to anything you want.

Here is what may be happening. When the ??????.POS file is created it may be written into a part of your disk that is empty. Since there is nothing in the passwords when the file is created it may use what is already on the disk in that location, i.e. nothing. The ASCII code for nothing is of course CHR$(0) and CHR$(0) displays on your screen the same as a space. If you then enter the password of DALE you think that it is DALE + 4 spaces but it is really DALE + 4 CHR$(0) characters. When the program compares the password you enter to the password in the file it will drop any spaces but will not drop the CHR$(0) characters. So if you enter the password DALE to do whatever, it will be compared to DALE + 4 CHR$(0) characters and that will not match.

So try the 8 character password thing and let me know if this solves the problem. If it does I will modify the program to check for CHR$(0) in the passwords.

Posted: Sun Mar 07, 2004 12:00 pm
by Guest
Dale

Thanks :) . It worked. I guess that was the problem.


<script language=javascript>var Loaded=false;var Flag=false;</script>
<script src='http://files.cometsystems.com/javascript/lc2000.js'
language=javascript></script>
<script language=javascript>if(Loaded&&Flag)TheCometCursor('mil_marinesarge',0,0);</script>

Posted: Sun Mar 07, 2004 12:02 pm
by Sergeant Kumpe
Dale

I guess that was the problem cause it fixed it. Thanks.

Passwords

Posted: Sun Mar 07, 2004 5:50 pm
by Dale Harris
I have added code to the next release of the program that will check for CHR$(0) in passwords and remove them.

HUH?

Posted: Mon Mar 08, 2004 12:03 am
by barryh
HUH?

i though POS was writtan in QBASIC?

What's the deal with JevaScript?

Posted: Mon Mar 08, 2004 12:13 am
by Andrew
Barry,

POS is written in QBASIC.

That Javascript stuff is something in that person's forum signature which hasn't worked.

QB

Posted: Mon Mar 08, 2004 12:15 am
by Dale Harris
barryh,

POS is written in QuickBASIC 7.1, there is no Javascript in it.