Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Dave Snyder — — source: Informix-list mailing list archive (1991-1998)
In article <2nf7ut$ad7@emory.mathcs.emory.edu> you write:
}
} Why does the 4gl compiler miss all of sorts of valid things yet blow out
} on the trivial? Silly compiler - tell me when I DON'T know what I'm doing.
} I want you to be psychic!
}
} main
} call b
} call a
}
} function a
}
} foreach curs
} |
} | cursor has not yet been declared.
} |
}
} function b
}
} declare curs
}
The compiler processes 4GL code from top to bottom. Although at runtime
b() is called before a(), at compile time a() is processed first and
"curs" has not been declared because it's declaration occurs in b() further
down in the code.
DAS
--
Dave Snyder @ Snide Computer Services - Folcroft, PA Current Release
is db4glgen-3.17
UUCP: ..!uunet!das13!dave INTERNET: dave@das13.snide.com
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.