compilation error while try to open X scaling tutorial

Hi all,

when I try to follow this tutorial, Igor gives me that error:

Must use WAVE, NVAR, and SVAR to access global waves, variables and strings with #pragma rtGlobals=1

Error in TutorialEngine.ipf:TESetTutorialState

gTETutorialState=state

I have tried it in two different laptops with the same results. Any ideas for how to solve it?

Thanks in advance
This is a problem in Igor Pro 5. It is not a problem in Igor Pro 6.x.

You can fix it by adding this to the top of the Igor Pro 5 "Tutorial Engine.ipf" file:
#pragma rtGlobals=0     // Use modern global access method.


You will have to edit this file in a new experiment, not in the X Scaling Tutorial experiment. The file is in "Igor Pro Folder\WaveMetrics Procedures\Utilities". After making the change you can then open the X Scaling Tutorial experiment.

Igor Pro 5 is very old. I recommend upgrading to Igor Pro 6.
Thank you very much.

Igor 5 is what my group use. They are a little bit reluctant to change (some of them are using windows XP, so you can imagine!) because they use some procedures and they are afraid if they have to rewrite them.
I will change when a Linux version would be launched.