Can someone help me with this error ? Argument #2 ((quote LBL4_symbol)) to

Error from Companion: Argument #2 ((quote LBL4_symbol)) to 'gnu.mapping.Environment.isBound(gnu.mapping.Symbol)' has wrong type (gnu.lists.PairWithPosition) (gnu.lists.PairWithPosition cannot be cast to gnu.mapping.Symbol)
im not quit sure what the problem is also english isnt my first language so sorry in advance i forgot here is the aia file
final_prohect_assigment_copy.aia (387.3 KB)

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

export_and_upload_aia

.

Also, be sure your Companion version is 2.76 or 2.76u

final_prohect_assigment_copy.aia (387.3 KB)

Which Screen does the error happen in?

image

This a cute one.

In screen difficulty2, look at

I homed in on this by searching (ctrl-F) for LBL4_symbol)

At first I thought I had to wipe dust off my screen, but it looks to be part of the component name.

This fixes the problem.

image

That quote mark poisoned the Companion.

By the way, if you are doing this for a grade, you must learn to use procedure parameters and lists to reduce your block count. You are over-copying too much code.

1 Like

For our foreign readers, I have mirrored the procedures chapter of the free online book here.

I encourage you to read it and use it.

1 Like

By the way, one of your question procedures somewhere uses the wrong answer variable for its question.

Sorry, I forgot which one.

You'll have to read through them yourself.

sorry for the late replay the screen name is diffculty 2

Thank you so much, that worked and I'll read that thank you for linking it

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.