Post Reply 
(48G) Print Program w/ Name, Checksum, & Size
09-11-2016, 11:12 PM (This post was last modified: 09-11-2016 11:35 PM by Nick.)
Post: #1
(48G) Print Program w/ Name, Checksum, & Size
Input: 'Program Name'

Code:
<<
  DUP PRVAR RCL BYTES
  ->STR SWAP ->STR " ; "
  + SWAP + PR1 DROP CR
>>

# 38562d ; 50.5
Find all posts by this user
Quote this message in a reply
09-28-2016, 10:18 AM (This post was last modified: 09-28-2016 10:19 AM by Bruno.)
Post: #2
RE: (48G) Print Program w/ Name, Checksum, & Size
Slightly shorter :

Code:

<<
  DUP PRVAR RCL BYTES
  " ; " SWAP + +
  PR1 DROP CR
>>

# 62699d ; 43
Find all posts by this user
Quote this message in a reply
09-29-2016, 08:49 AM
Post: #3
RE: (48G) Print Program w/ Name, Checksum, & Size
It's great seeing these techniques -- thanks for sharing.
Find all posts by this user
Quote this message in a reply
09-30-2016, 01:35 PM
Post: #4
RE: (48G) Print Program w/ Name, Checksum, & Size
Bill Wickes say that the RPL is polymorphic : it's true ! Smile
Find all posts by this user
Quote this message in a reply
Post Reply 




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