1 '' examples/manual/proguide/namespaces/access.bas 2 '' 3 '' NOTICE: This file is part of the FreeBASIC Compiler package and can't 4 '' be included in other distributions without authorization. 5 '' 6 '' See Also: https://www.freebasic.net/wiki/wikka.php?wakka=ProPgNamespaces 7 '' -------- 8 9 Dim As Integer i ' Declare i in the global scope 10 11 Namespace A 12 Dim As Integer i = 2 ' Declare i in Namespace A 13 Dim As Integer j = 3 ' Declare j in Namespace A 14 End Namespace 15 16 i = 1 ' Use i from global scope (.i) 17 A.i = 4 ' Use i from Namespace A (A.i)