can't load a funtion

From: Matt Fritts (mcfritts@accesstoledo.com)
Date: Fri Jul 23 1999 - 23:32:40 MEST


I've been experimenting with loading functions and haven't gotten past
square one. I use the example from the tutorials

   // macro2.c
   #include <iostream.h>

   int main()
  {
     cout << " Hello" << endl;
     float x = 3.;
     float y = 5.;
     int   i= 101;
     cout << " x = " << x << " y = " << y << " i = " << i << endl;
     return 0;
  }

and enter the line

   .l macro2.c

into the interpreter and I get the response

    No variable table

and when I type

    main()

I get "no symbol main() in current scope". Any idea why? I am using Root
Version 2.21/08 with interpreter version 5.13.92 on a Dell OptiPlex G1
running Windows NT.

Thanks

-Matt Fritts



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:36 MET