HP Forums

Full Version: (48G) Print Program w/ Name, Checksum, & Size
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Input: 'Program Name'

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

# 38562d ; 50.5
Slightly shorter :

Code:

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

# 62699d ; 43
It's great seeing these techniques -- thanks for sharing.
Bill Wickes say that the RPL is polymorphic : it's true ! Smile
Reference URL's