HP Forums
(48G) Print Program w/ Name, Checksum, & Size - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (48G) Print Program w/ Name, Checksum, & Size (/thread-6832.html)



(48G) Print Program w/ Name, Checksum, & Size - Nick - 09-11-2016 11:12 PM

Input: 'Program Name'

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

# 38562d ; 50.5



RE: (48G) Print Program w/ Name, Checksum, & Size - Bruno - 09-28-2016 10:18 AM

Slightly shorter :

Code:

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

# 62699d ; 43



RE: (48G) Print Program w/ Name, Checksum, & Size - Nick - 09-29-2016 08:49 AM

It's great seeing these techniques -- thanks for sharing.


RE: (48G) Print Program w/ Name, Checksum, & Size - Bruno - 09-30-2016 01:35 PM

Bill Wickes say that the RPL is polymorphic : it's true ! Smile