October 20, 2020, 10:24:05 pm


Alternatively, join us on Discord.
You can help CodeWalrus stay online by donating here.

S.I.F.S. Super Intelligent Friend System [HP Prime][HP PPL]

Started by alexgt, May 17, 2015, 05:33:22 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

timwessman


#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.
TW

Although I work for the HP calculator group, the comments and opinions I post here are my own.

Unicorn

Yeah... Your update still does what DJ's screenshot shows.



??? ??? ??? ??? ???

alexgt

Quote from: timwessman on June 04, 2015, 04:53:45 pm

#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.

Yup I just tried it and all you need to do is unzip the file and BAM it is all good :)

Also there is a updated download here becasue after I uploaded the last ones I realized they had MAJOR bugs that are fixed now :)

Thanks for all the help and support :)

Unicorn

Wait, so how do I install this version?



??? ??? ??? ??? ???

alexgt

Unzip the fie and drag the file to the application directory this should make the app and if this icon on the app, if not you did it wrong or my tests were inconclusive :).

Hope this helps :)

Unicorn




??? ??? ??? ??? ???

DJ Omnimaga

June 05, 2015, 01:39:52 am #66 Last Edit: June 05, 2015, 01:43:03 am by DJ Omnimaga
Glad to see a fix :). You should update your contest entry with it too :)

EDIT: Nope it still doesn't work :(. I unzipped the files and dragged the folder in the app library. The icon now shows up, but the program still won't run :(

alexgt

Quote from: timwessman on June 04, 2015, 04:53:45 pm
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.

Opps, I have to do that but of right now just make a new program with a name with these exact words "SIFS_PROG_RUN" and then execute SIFS (it will still not work) then go to the program menu and open the SIFS(APP) program editor at the top and click check. Now it should work ;)

I will post an update soon so you don't have to do that :)

And some screenshots are coming up also :)

DJ Omnimaga

Ah that might explain why it was still not working lol. I thought that the latest version fixed the issue. :P

alexgt

Here is an updated download that should work :)

Also I am going to start with making the AI system because the program editor looks pretty daunting with all the MOUSE() commands I will have to use O.O

EDIT: I forgot to say this: press Symb to run the program. Also this will not work with programs that have EXPORT commands for vars but I know how to fix that and it will be patched :)

EDIT: Screen shot :)

Unicorn

Looking Amazing! Suggestion: make the background color customizable, and maybe a custom picture for the background? I like the layout so far!



??? ??? ??? ??? ???

DJ Omnimaga

Ooh I like the look, so far! The only things, though, is that it seems that the icons area is quite large for the rest of the screen. Maybe it could be reduced in size (with the icons keeping their current size), so that to the right, you can display program descriptions (assuming that is possible to display code from programs in HP PPL, then if the code starts with comments, then it would show those as program description and credits, and if it's not the case, then it shows (no description).

I like the rolling menu by the way. You could add a title such as program library and up/down arrows, with instructions at the bottom. :)

Snektron

Legends say if you spam more than DJ Omnimaga, you will become a walrus...


alexgt

June 07, 2015, 03:21:24 am #73 Last Edit: June 07, 2015, 04:23:39 am by alexgt
thanks everyone :)

Quote from: DJ Omnimaga on June 06, 2015, 01:52:15 am
Ooh I like the look, so far! The only things, though, is that it seems that the icons area is quite large for the rest of the screen. Maybe it could be reduced in size (with the icons keeping their current size), so that to the right, you can display program descriptions (assuming that is possible to display code from programs in HP PPL, then if the code starts with comments, then it would show those as program description and credits, and if it's not the case, then it shows (no description).

I like the rolling menu by the way. You could add a title such as program library and up/down arrows, with instructions at the bottom. :)

The reason that they are so far over is because I might support custom icons for programs. The description would be a good idea but maybe only display it when a button is pressed or something :). also on the right of the screen I will make a RUN, EDIT, and NEW, maybe more if I get any crazy ideas :P.

Thanks for the help and support - and I really do mean that :)

Unicorn

Also make a Walrii option that uses DJ's walrii catcher thing fo the prime. Make them fly around the shell!



??? ??? ??? ??? ???

Powered by EzPortal