Post Reply 
WARNING: Do NOT convert your HP Prime programs into applications!
07-14-2015, 05:30 AM (This post was last modified: 07-14-2015 05:36 AM by Kevin Ouellet.)
Post: #5
RE: WARNING: Do NOT convert your HP Prime programs into applications!
@eried: Yes, I got the same problem using your method. And like the other method I used, it took me about three tries before the app successfully sends.

@Cyrille: This Minecraft clone is an example and is what I am trying to get to run on my calculator with no success: http://codewalr.us/index.php?action=dlat...attach=426 . And I still maintain that people should wait before starting to use apps instead of programs, because currently, it seems like the application transfer feature is in Alpha or Beta stage, so it would be better that people wait until it's bug-free so that enough people can use their programs.

@StephenG1CMZ: You don't have to use Tapatalk to browse the link. Simply close the ad. Normally it should not re-appear afterwards unless your mobile browser is old. I need to find a way to get rid of that Tapatalk splash screen without breaking Tapatalk updater (there used to be a feature for that, but Tapatalk team got rid of it). Also the post is from Tim Wessman, since he posted there. Here is the post in question in case you are still unable to access the other site:

timwessman Wrote:
Code:

#pragma mode( separator(.,;) integer(h32) )

//Declare function
SIFS_PROG_RUN();

//Local vars
Local ProgNum; //Prog number to display/edit
....
<snip>

You'll want to put this at the top of your source file.

The pragma line is so that anyone who has different internationalization/integer settings won't have issues. It tells: , is the separator for arguments, . is the separator for mantissa, ; terminates your command statements.

The next part is why the program isn't running. There is a error when trying to compile because the compiler has no idea what SIFS_PROG_RUN() is since you are creating it on runtime (not sure why exactly, haven't looked at the code). Hence, you should declare it as a function earlier and it will run fine.

The reason the icon isn't showing is because it isn't being sent. I went through this process: Unzip to the content directory, drag the zip file to the calculator tree and it was all sent fine. I will investigate if coming directly from a zip is having an issue or something.

The Minecraft game above, by Alexgt, is supposed to have added the code quoted above, yet I still can't run the game: It simply shows a spreadsheet instead.

-Dream of Omnimaga
https://dreamofomnimaga.page
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: WARNING: Do NOT convert your HP Prime programs into applications! - Kevin Ouellet - 07-14-2015 05:30 AM



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