07-12-2007 8:45 AM
Hello,
Is it possible to use watch point for a Field symbol?
Regards,
Umasankar.
07-12-2007 9:57 AM
Hi,
Field symbol is used to for dynamic usage. Just like pointers concept in "C".It is nothing more than a pointer to a memory area
A field-symblo is a pointer u can dynamically assign to a field.
Memory is allocated to a field-symbol during runtime only.
Assign stmt is used to assign a field to it.
ex:
data f1(3) value 'XYZ'.
FIELD-SYMBOLS <f>.
Assign f1 to <f>.
<b>Reward points</b>
Regards
07-12-2007 9:07 AM
07-12-2007 9:12 AM
Hi,
No Its not possible as you will not know the Concrete TYPE of the FILED-SYMBOL.
Regards,
Sesh
07-12-2007 9:54 AM
Hi Sesh... I think watchpoint is not TYPE dependent...
Regards
Prax
07-12-2007 9:53 AM
Hi Uma..
I tried it... and it is possible to use watchpoint for field-symbols once they are assigned...
because to create watchpoint ,, u need to assign it first then u can chagne the value of field-symbols in ur program anytime... and in debugger.. when that value is changed.. watchpoint is reached....
I would suggest u to try it...
Reward if usefulll
Regards
Prax
07-12-2007 9:57 AM
Hi,
Field symbol is used to for dynamic usage. Just like pointers concept in "C".It is nothing more than a pointer to a memory area
A field-symblo is a pointer u can dynamically assign to a field.
Memory is allocated to a field-symbol during runtime only.
Assign stmt is used to assign a field to it.
ex:
data f1(3) value 'XYZ'.
FIELD-SYMBOLS <f>.
Assign f1 to <f>.
<b>Reward points</b>
Regards
07-12-2007 10:07 AM
Watch point can be used for field symbols only after Assign statement.
Thanks for your valuable suggestions.
Regards,
Umasankar.