can't load a funtion

Matt Fritts (mcfritts@accesstoledo.com)
Fri, 23 Jul 1999 14:32:40 -0700


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