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 2 Guests 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.
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



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

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 :)
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Unicorn

Wait, so how do I install this version?
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



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

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 :)
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Unicorn

  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



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

Dream of Omnimaga

#66
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 :(
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

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 :)
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Dream of Omnimaga

Ah that might explain why it was still not working lol. I thought that the latest version fixed the issue. :P
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

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 :)
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Unicorn

Looking Amazing! Suggestion: make the background color customizable, and maybe a custom picture for the background? I like the layout so far!
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



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

Dream of 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. :)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Snektron

  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


alexgt

#73
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 :)
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Unicorn

Also make a Walrii option that uses DJ's walrii catcher thing fo the prime. Make them fly around the shell!
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



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

Powered by EzPortal