The begin scope …. end scope statement let you restrict the variable visibility to a defined part of your program.
begin scope local cVar as string cVar := "Hello X#" System.Console.WriteLine( cVar ) end scope System.Console.WriteLine( cVar ) // compile error here