a script to have access to a variable of another scrapeableF

Hello again! :)

One question:
I have two scrapeable files and two different scripts. Each of these scripts need to access variables' content that are defined and populated on the scrapeable file that does NOT call this script. How can I do this?

By the regular procedure (out.write( dataRecord.get( "USERID" ) + "\t" );)
I get a null content in the variable, or that it wasn't defined.

Thanks a lot,
Carlos.

awesome!

Thanks a lot!
Carlos.

clarification

Variable X is defined in Scrapeable file A. Content is put in variable X.

Scrapeable file A ends.

Scrapeable file B starts. Then, calls Script 1.

Script 1 needs to write the content of variable X in a text file. (How?)

Hope it helps!

Carlos.