Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 1162

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 1162

Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 726

Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 727

Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 728

Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 729
variable scope | CompShack.com

variable scope

File Object Scope - i declare it as global but second section fails, can i do this

Can i do this?
i declare a global thinking it would be valid for all of the program, but it fails:

Global File &LogFileA05;
Global File &LogFileA10;

/***** Set the Log File *****/
&LogFileA05 = GetFile("C:\temp\DELETE_USER_PROFILE_A05.log", "w", "a", %FilePath_Absolute);
&LogFileA05.WriteLine("Begin: " | %Datetime);
&LogFileA10 = GetFile("C:\temp\DELETE_USER_PROFILE_A10.log", "w", "a", %FilePath_Absolute);
&LogFileA10.WriteLine("Begin: " | %Datetime);

writeln in later section fails