Urgent Request: GPA Calculator for School Mid-term Project





I have made the design and blocks so far, but it seems that the program is not working. Whenever I input a score in the "Input Score" Textbox, the system reports a Runtime Error that shows the following message:
Expected a native object. Irritants: (AP/H/S)
Note: You will not see another error reported for 5 seconds.

I want to know how I can fix this problem in ASAP. DDL is coming soon. Appreciated!

You are using generic blocks on pieces of text.

They only work on component blocks.

See the other two gpa threads on this board from today.

Nah I still don't get what you mean. DO you mind doing an example for me? Thanks a lot!


The blocks demonstration you gave me appears to be really different from my current plan and design. As shown in the picture, I currently think the major problem is to get the Level I selected with the set of procedure on the right into this big block of total grade point calculation. I still have no idea how to do so.


Here is how the entire thing looks like so far. I'm not sure what part is wrong. I need to get it done in ASAP cuz ddl is tomorrow.


This picture shows how the app page design looks like.

That "to Set_Level List_Picker" procedure on the right works perfectly fine. I followed directions offered by ChatGPT to make that section, but its direction to change and modify the "Calculate_Total" procedure is not understandable to me.

You are using the text length block where you should be using the blue length of list block in the button click event.

Recalculating during a text changed event is hazardous. You will inevitably get garbage input.

Stick to the good old Enter button.

Try to calculate one column at a time.

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.
export_and_upload_aia

Maybe one of your classmates will be awake to help you

ALexZhu_Midterm.aia (27.6 KB)

I recommend adding a button to the bottom of each column, just to get that column's grade point subtotal.

OK that sounds fine, but the problem is, I still don't know how to actually do it. Is is possible for you to revise my project a little bit s I can try to work out the pattern or rule? Things are really getting tough since beside doing this project, Early Applications DDL is also coming very soon. All of these things take a whole lot of time, and now it seems that I must prioritize my applications. I really need to get this project done as soon as possible. :pray::pray::pray:

I see nine new posts on line requiring my attention, and I haven't had breakfast yet.

Next!

Alright that make sense. Everyone has the same ddl. Hope you'll come to my case soon! :pray:

Hello are you available now? Would you please help me out :frowning: It's really late here now. I only have less than 24 hours to get it done. :pray:

Here is a value procedure based approach, but I got bored filling in the numbers for the different ranges.
I leave that to you.

Your old procedure is collapsed, left there to help copy numbers over into the new procedure.

Draggable new code:

The incomplete procedure, left for you to fill:

This should be a considerable simplification.
ALexZhu_Midterm.aia (28.9 KB)

P.S. I should have cleared global Total_GPA at the start of the Calculate button click.
I also removed those toxic Textbox Changed events and their calls to your old procedure.

Wow thank you sooooo much! It's now 3:20 a.m. and I've just finished modifying my application materials for early applications. I must go to bed now. I will have a close look at it later today, and try to fill the rest of the thing by myself. Again, really really appreciate your kindness and helpfulness!!! :pray::pray::pray:

Alr I've done some modification be myself and the program now operates perfectly fine. I just submitted my project, hope I have a good score lol. Again thanks a lot! You're very helpful.