Bug Reprt: Attempt to print record from stock table cause system Crash

Make comments, ask questions, or just complain about the software on this site. Or comment on any educational software.
Please note that by clicking on links that may appear in these posts that you may be leaving the Dale Harris Educational Software website and that the content of those sites is the sole resposibility of the authors of those sites.

Moderators:daleadmin, Dale Harris, Alan, Andrew

User avatar
brucef2112
Forum Regular
Posts:339
Joined:Mon Mar 06, 2006 11:19 pm
Location:Broward County, Floriduhh
Contact:
Bug Reprt: Attempt to print record from stock table cause system Crash

Post by brucef2112 » Sun Dec 15, 2024 8:07 pm

Attempting to export records from stock table and send to printer. If user makes a minor error in selecting output, it puts user in a position which can not be backed out of. User can only hit the [Any Key] and in doing so the program crashes and goes back to the system prompt. From the error message, it seems there is a problem with a Goto statement not accounting for me.

Results the same when tested on a Windows XP servicepack3 PC and also on a DOSBox running on a Windows 10.
POS configured to print to Receipt Printer.
This error is repeatable and results are always the same.

While in the stock table.
Press [F5] = Move/Export lines
Select 1. Continue to 'Move / Export.'

[SPACEBAR] TO SELECT SOME RECORDS.

7. Export to printer/database/spread sheet.
2. All selected lines. [ENTER]

Select some fields you want to export.
[SPACEBAR] the STOCK NUMBER, DESCRIPTION, REGULAR PRICE, and VENDOR STOCK NUMBER.

Leave the default selection of [F3] and [F5].
Press [F8] Begin export to...
Select 1. Printer. [ENTER]

you are then presented with a message, "Length of printed lines (47) longer than printer width setting (40). Press any key"

At this point you can "Press any key".

Program crashes with error message.
"RETURN without GOSUB in line 56 of module STOCK3 at address 1D61:4351"
"Hit any key to return to system"
Once you choose the key you want to press and press it, the program returns to the DOS prompt.

There is no way to return to the previous step once you have been warned about "Length of printed....". What should happen is it should let you in the least hit the [Esc] to go back one screen to deal with making different choices.

The reason is obvious an output conflict that a user shouldn't choose buuut, yeahhh, I did it.

The initial fix for this is for the user not to do the above actions. watch what you are doing.
Dale may or may not fix this.

later, B
Later,
Bruce

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
Benjamin Franklin - Historical Review of Pennsylvania, 1759

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests