Example reads as follows:
GetSysMetrics
Queries a system metric value:
SM_CMONITORS = 80
metric = GetSysMetric(SM_CMONITORS)
say 'There are' metric 'monitors connected to this system.'
Example should read:
GetSysMetrics
Queries a system metric value:
SM_CMONITORS = 80
metric = GetSysMetrics(SM_CMONITORS)
say 'There are' metric 'monitors connected to this system.'
Patch attached
Lee
Anonymous
Patch for standarddialog.sgml
Logged In: YES
user_id=191588
Originator: NO
Good eyes Lee. Usually I try to copy the example in from working code. In this case I must have thought the code was so simple I could not go wrong. <grin></grin>
Logged In: YES
user_id=1223125
Originator: YES
Actually it wasn't my "eyes" that caught the error. It was my "copy/paste" of the example that "directed my eyes" to look real close. :-)
Lee
Logged In: YES
user_id=1223125
Originator: YES
Found another example in the same document that will abort is run as is.
Comprehensive patch attached
Lee
File Added: standarddialog.sgml.patch
Comprehensive Patch for standarddialog.sgml
Logged In: YES
user_id=191588
Originator: NO
Committed revision 1186.
Thanks again Lee.
Committed some time ago.