GetErrorModuleNR()

Just starting out? Need help? Post your questions and find answers here.
Skipsy
User
User
Posts: 98
Joined: Wed Apr 30, 2003 12:26 pm
Location: France

GetErrorModuleNR()

Post by Skipsy »

Hi,

When using this function the compiler returns the message :
"GetErrorModuleNR() is not a function, an array or a linked list"

Other functions like GetErrorLineNR() work perfectly. Note that I have
set the compilation option in the way to manage OnError lines.

:?: :?: Any idea :?: :?:
Beware of the man who has the solution before he understands the problem...
Proteus
Enthusiast
Enthusiast
Posts: 113
Joined: Wed Sep 17, 2003 8:04 pm
Location: The Netherlands

Post by Proteus »

From the help file:
Filename$ = GetErrorModuleName()
There is no GetErrorModuleNR(), only GetErrorModuleName().
P4 2.4GHz, 256 MB, WinXP Pro, onboard video&audio.
The Programmer's Drinking Song:
"99 little bugs in the code,
99 little bugs.
Fix one bug, recompile
100 little bugs in the code."
Skipsy
User
User
Posts: 98
Joined: Wed Apr 30, 2003 12:26 pm
Location: France

Post by Skipsy »

Strange !!!

I got this function from PB 3.71 help file. On the other hand I can not find
GetErrorModuleName().....

Is the difference so big between 3.71 and 3.72 ???
Beware of the man who has the solution before he understands the problem...
Skipsy
User
User
Posts: 98
Joined: Wed Apr 30, 2003 12:26 pm
Location: France

Post by Skipsy »

Oups... Sorry,

It is working fine now.
I forgot the switch "/LineNumbering" in compiler options.

:oops:
Beware of the man who has the solution before he understands the problem...
Post Reply