File Format: hpprgm



#2

Has anyone written (or is it possible to write) an PC program to view .hpprgm files?

I do not always have the emulator around and would like to view the code.

Thank you,
TomC


#3

I am able to view and edit them with emacs.

#4

hpprgm format is very simple and I think no exploit is possible

it contain 3 things:

1) A list of EXPORTed functions names

2) A list of variables defined at program level, and variables dump

3) The program source code

The file is rebuild every time you go in program editor. The compiled code is not saved in the file, it is rebuild as needed. No tweak, no patch.

#5

By the way,

Why doàn't you type your code in a text editor and use the Copy/Paste to copy to and back from emulator ?


#6

Sometimes authors of programs post only the .hpprgm file instead of the source. Part of the reason these authors only post the .hpprgm files is to avoid possible issues with character conversion -- for example, the MoHPC forum does not support unicode characters. So if someone makes a program which uses the "STO" arrow via [Shift][EEX], and then pastes their source here on the forum, then the arrow is not properly converted. So when the only file available is the .hpprgm file, it would be more convenient to have a way of accessing the .hpprgm file quickly.

Ideally, the authors should save their source as a unicode text file, and then users can copy (from a text editor that supports unicode) into their calculator or conn. kit.

Once drag and drop gets implemented into the conn. kit, then all this will likely be a moot point.


Edited: 30 Oct 2013, 8:45 p.m.


#7

Unicode saving is exactly how i do it at home into out of the text editor.

as Han says, the arrow does not transfer as a simple copy paste.

Geoff


#8

Hmmmmm....perhaps the issue is that the current version of my editor (PSPAD) is not reading unicode!


Possibly Related Threads...
Thread Author Replies Views Last Post
  Prime: how to detect date format giancarlo 1 226 12-02-2013, 11:21 AM
Last Post: Michael de Estrada
  HP 50g - displaying result in engineering format Sean Freeman 10 576 11-24-2013, 05:44 AM
Last Post: C.Ret
  HP PRIME: Fixed 4 number format 0.001000 Joseph Ec 18 864 11-07-2013, 11:51 AM
Last Post: Geoff Quickfall
  Cannot delete file Les Koller 4 315 11-07-2013, 12:17 AM
Last Post: Les Koller
  PRIME: re-format the flash drive to recover the operating system Harold A Climer 2 259 11-06-2013, 12:22 AM
Last Post: Michael de Estrada
  HP-Prime File extension Paul D. Fox 6 320 10-07-2013, 01:45 AM
Last Post: cyrille de Brébisson
  go71b 'lexs' or 'raws' file format? Christoph Giesselink 2 250 08-21-2013, 02:53 AM
Last Post: Christoph Giesselink
  How to use XnView to create .gro4 file as in OpenFire? arturfeghali 2 187 06-27-2013, 05:57 PM
Last Post: jerome ibanes
  41CL :TROUBLE IN FILE TRANsFER aurelio 22 1,045 06-18-2013, 03:44 PM
Last Post: aurelio
  How to save WP34s programs to a file? Harald 9 496 04-26-2013, 01:44 PM
Last Post: Walter B

Forum Jump: