Post Reply 
How to use a forward function declaration in a program ?
12-21-2013, 10:05 PM
Post: #4
RE: How to use a forward function declaration in a program ?
I would try:
Code:
Sub1();

EXPORT Main_prog()
Begin

Sub1();

End;

Sub1()
Begin

End;
Or
Code:
EXPORT Sub1();

EXPORT Main_prog()
Begin

Sub1;

End;

EXPORT Sub1()
Begin

End;
Or
Code:
Sub1()
Begin

End;

EXPORT Main_prog()
Begin

Sub1();

End;
by the way, be consistent with EXPORT

Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to use a forward function declaration in a program ? - patrice - 12-21-2013 10:05 PM



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