I have created a preorder in one script.I want to create someother scripts which is making use of the pre order no,say for example pxx.How to pass the same preorder number (pxx)generated in the first script to all other scripts which depends on it.
How would you deal this problem for one user and say for example 50 users
Re: Script problem
What you need to do is build a datapool with the preorder numbers (a .csv file). Then set up the second script to use the datapool and substitute VARDATA(1), VARDATA(2), etc into the appropriate places in the second script.
I would recommend the use of global datapools versus local datapools. Much easier to administer if using multiple players.
Setting it up this way will automatically take care of the one user versus 50 user issue, as long as you have enough datapoints for 50 users (data stripping) or use rewind if you can use the same preorder number multiple times.