Post Reply 
(50g) FNINVARS: Object finder for couch hackers
10-11-2017, 06:50 PM
Post: #4
RE: (50g) FNINVARS: Object finder for couch hackers
(10-11-2017 05:36 AM)Joe Horn Wrote:  BYTES: 305.5 #6E26h

I have this program (I think the exact same) already in my 50g, so to confirm it's the exact same, I did 'FNINVARS' BYTES, which produces [318. #6E26], a difference of 12.5 bytes. Checksums match, so I'm confidant the code is the same.

Recalling the object itself on the stack as an argument to BYTES produces a smaller size (this does not include the name field, which is included when done using the global VAR name), and doing so does yield a smaller size, but the difference is not what I expected.

The AUR states:

"If the argument is a global name, then the size represents the name and its contents, while the checksum represents the contents only. The size of the name alone is (3.5 + n), where n is the number of characters in the name."

Since the name FNINVARS is 8 bytes, the difference should be 11.5 bytes, vs. the 12.5 I'm getting.

The same pattern is true for other VARs, so this isn't unique to this program.

I'm sure it's a simple thing, but anyone know why these are different?

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (50g) FNINVARS: Object finder for couch hackers - rprosperi - 10-11-2017 06:50 PM



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