Announcement

Collapse
No announcement yet.

Output price data to a file using .efs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Output price data to a file using .efs

    I have an .efs formula in eSignal (7.8) that I use to output price data to a file. It has been working all the time. I re-install eSignal (7.9.1) on another computer. Now the formula doesn't output prices any longer. I don't know why?? There is no error in the formula (??). Some sample file in .efs are as fillows:
    var f1 = new File(FileName);
    f1.open("wt"); aLine = f1.writeln();
    for(i=0;i<=NoRec;i++){
    f1.writeln(dat[i]+" "+tim[i]+" "+opn[i]+" "+hgh[i]+" "+lww[i]+" "+cls[i]+" "+vol[i]+" ");}
    f1.close();

    I was quessing that maybe newer version of eSignal doesn't support this function??? I have no ideas. Anyone can help me on this???

  • #2
    Hello apex3824,

    Unfortunately, you have not posted enough code to be able to tell what the problem might be. There weren't any changes made to the File object between 7.8 and 7.9.1. We did release a new version of EFS, but it should be backward compatible.

    What we need to see is an example of what your formula is writing to the file and your code that populates the arrays used for the writeln() statement.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment

    Working...
    X