Tools - Registers - ascertain file, line or column setting?
Posted: Wed Apr 21, 2004 3:32 am
Hi, I've looked at previous posts to this forum but I still can't figure out what I need when configuring a new 'tool' to do code compiling (using FourJs BDL).
I get code compiled and error file opened ok, but jumping to the first error has me stumped.
The regular expression I would normally use in textpad to jump to an error is:
^\|
But how can I use this info to make the opened error file jump to the first error on open? How do I set the file, line and column settings? And do I need to add more the above regular expression for it to work?
As an example below is a snippet from an error file to show what we get:
declare rbm01_chk_rslts_entered cursor for
select *
from horse_bicarbonate
where hb_horse_id = horse_id
and hb_racehdr_id = racehdr_id
and (length(hb_lab_number) > 0
or hb_finances_upd = "N"
open rbm01_chk_rslts_entered
| A grammatical error has been found at 'open' expecting: OR AND ')'.
| See error number -6609.
fetch rbm01_chk_rslts_entered into horse_bicarbonate.*
if status = 0 then
.....
Thanks for any assistance.
Regards,
Bryce Stenberg
(Harness Racing New Zealand computer dept.)
I get code compiled and error file opened ok, but jumping to the first error has me stumped.
The regular expression I would normally use in textpad to jump to an error is:
^\|
But how can I use this info to make the opened error file jump to the first error on open? How do I set the file, line and column settings? And do I need to add more the above regular expression for it to work?
As an example below is a snippet from an error file to show what we get:
declare rbm01_chk_rslts_entered cursor for
select *
from horse_bicarbonate
where hb_horse_id = horse_id
and hb_racehdr_id = racehdr_id
and (length(hb_lab_number) > 0
or hb_finances_upd = "N"
open rbm01_chk_rslts_entered
| A grammatical error has been found at 'open' expecting: OR AND ')'.
| See error number -6609.
fetch rbm01_chk_rslts_entered into horse_bicarbonate.*
if status = 0 then
.....
Thanks for any assistance.
Regards,
Bryce Stenberg
(Harness Racing New Zealand computer dept.)