04-21-2005, 12:13 PM
When i try to compile the following freebasic code to compile i get an error message : 'expected end function, found ('.
I have no clue what i'm doing wrong. Can someone please help me? thanks in advance
--------------------------
dim tmp%(1 to 100)
Function test(p1 AS INTEGER) AS INTEGER
test = tmp%(p1)
END FUNCTION
------------------------
I have no clue what i'm doing wrong. Can someone please help me? thanks in advance
--------------------------
dim tmp%(1 to 100)
Function test(p1 AS INTEGER) AS INTEGER
test = tmp%(p1)
END FUNCTION
------------------------