View previous topic :: View next topic |
Author |
Message |
Vic D'Elfant Past Contributor
Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Wed Oct 01, 2003 8:33 am Post subject: Another #include problem... or is it just me? |
|
|
Hi all,
when I include a script which #defines some commands and functions, and I exit my running script, the first command/function (or label), will be runned of the included script
Is this a bug or is it just me again?
Vic _________________ phpBB Development Team |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Wed Oct 01, 2003 8:36 am Post subject: |
|
|
have U added atleast one line space between you define and first label ? _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
Vic D'Elfant Past Contributor
Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Wed Oct 01, 2003 8:39 am Post subject: |
|
|
Yes.... at least two: one empty line and one remark _________________ phpBB Development Team |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Wed Oct 01, 2003 10:56 am Post subject: |
|
|
Once this drove me crazy and the solution I suggested helps. I wanted to reproduce it but then all of a sudden dissapeared
So I don't know.
I have made a habbit of adding a REM statement at the top of the dsu script and a space after the declare. So the problem never recurred.
Also a command of the same name goes after a function of that name (or the other way ) _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
Vic D'Elfant Past Contributor
Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Wed Oct 01, 2003 11:56 am Post subject: |
|
|
Thanks for the tip CodeScript!
Vic _________________ phpBB Development Team |
|
Back to top |
|
|
|