Post Reply 
How to use a forward function declaration in a program ?
12-21-2013, 09:19 PM
Post: #1
How to use a forward function declaration in a program ?
I know this must be obvious can't figure it out. I have a subroutine called by a main program that I want to move to the end of the end of the main program as follows:

EXPORT Sub1;

EXPORT Main_prog
Begin

Sub1;

End;

Sub1
Begin

End;

I'm getting a syntax error just before the Begin after the Sub1. What am I doing wrong?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to use a forward function declaration in a program ? - Michael de Estrada - 12-21-2013 09:19 PM



User(s) browsing this thread: 1 Guest(s)