....but apparently it's okay.
This snippet is in an #INCLUDE file (the 2nd or 3rd #INCLUDE) and was DECLARE'd before in the main file.
Thought duplicate DECLARE's was illegal but it seems it's legal in that the program compiles and runs fine (so far as it's developed).
Code:
REM ************************************** ' REM * Enter a line of text on the screen * ' REM ************************************** ' REM * Written in CCv 4.04. * ' REM ************************************** ' ' DECLARE FUNCTION ScreenInput(LONG, _ ' LONG, _ ' LONG) AS STRING' ' ' FUNCTION ScreenInput(SiRow AS LONG, _ ' SiCol AS LONG, _ ' SiLen AS LONG) AS STRING ' LOCAL t AS LONG ' LOCAL x AS LONG ' etc, etc, and so on and so forth END FUNCTION
Thought duplicate DECLARE's was illegal but it seems it's legal in that the program compiles and runs fine (so far as it's developed).
Comment