Kiren S
Kiren S

Reputation: 3097

Function definition not found in 4gl file

I am working on 4gl language but a new bie. In a file custom.4gl a function cleanup() is called, but I didn't find the function definition. I am trying to find that.

I got a file named 'tags' with following line of code in which a hint for cleanup is there. But I didn't understand what this meant. Can anyone help me to find the function definition.

I folder searched with my code editor but there was no way.

cleanup custom.4gl  /^function cleanup(
cn_error_handler    cnerhand.4gl    /^function cn_error_handler(
default_code    custom.4gl  /^function default_code(
get_file    custom.4gl  /^function get_file(
get_params  custom.4gl  /^function get_params(
get_prompts custom.4gl  /^function get_prompts(
logo    main.4gl    /^function logo(

Upvotes: 2

Views: 351

Answers (2)

joel
joel

Reputation: 11

what i usually do:

run executable in debugger and break for this function and it tells you the name of .4gl file its defined.

break cleanup

Upvotes: 1

Kevin Golding
Kevin Golding

Reputation: 83

The function cleanup used to be in custom.4gl.

If it's not there now, then someone must have deleted it.

Do you have some sort of source code control system that you might be able to get it from?

Upvotes: 1

Related Questions