Post Reply 
HP-42S / Free42 Extension for Visual Studio Code
11-17-2018, 09:54 PM
Post: #19
RE: HP-42S / Free42 Extension for Visual Studio Code
Thanks for the update. However I noticed a weird behaviour when an error occurs during encoding.

Code:
LBL "TOO-LONG-FOR-A-LABEL"

Encode this to get:
Code:
00 { Error [1, 01]: Code: 'LBL "TOO-LONG-FOR-A-LABEL"'; Message: 'line number not correct' }
LBL "TOO-LONG-FOR-A-LABEL"
The message is a bit misleading.

Correct the label:
Code:
00 { Error [1, 01]: Code: 'LBL "TOO-LONG-FOR-A-LABEL"'; Message: 'line number not correct' }
LBL "SHORT"

Encode again to get:
Code:
00 { 1-Byte Prgm }
00 { 9-Byte Prgm }
LBL "SHORT"

Format to get some strange line numbering:
Code:
01 00 { 1-Byte Prgm }
02 00 { 9-Byte Prgm }
01 LBL "SHORT"


Is there an easier way to remove line numbers instead of using ⇧ ⌥ ⌘ with cursors to select a block and delete it?

Kind regards
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP-42S / Free42 Extension for Visual Studio Code - Thomas Klemm - 11-17-2018 09:54 PM



User(s) browsing this thread: 1 Guest(s)