[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tomasz - #include



PureBytes Links

Trading Reference Links

Tomasz,

Made some progress, but still have problems:

My inclded file is:


//FileName: "test include.afl"
//Test file to debug include function

Test = "This is a test file2";
Test2 = " Test #2";
Test3 = " Test #3";
Value = 8;
*********************

The file with #include is

//FileName: "test include - caller.afl"
//Test file to debug include function

#include "afl\test include.afl;

Plot(Value,"Val",colorYellow,1);
WriteVal(Value);

**************************

I am accessing the file OK.
The 3 "Test =" statements in the included file print out in the 
interpretation window OK.

Problem:
When I try to access the variable "value" from the calling program 
nothing happens. No Plot, no printing in Interp. window


Ara