Anonymous user
Write to Windows event log: Difference between revisions
m
→{{header|REXX}}: added a second REXX version.
m (→{{header|REXX}}: added/changed comments and whitespace.) |
m (→{{header|REXX}}: added a second REXX version.) |
||
Line 382:
=={{header|REXX}}==
This was executed on a (Microsoft) Windows/XP PRO system.
==annotated==
<lang rexx>/*REXX program writes a "record" (event) to the (Microsoft) Windows event log. */
Line 399 ⟶ 401:
SUCCESS: A 'INFORMATION' type event is created in the 'REXX' log/source.
</pre>
==bare bones==
<lang rexx>/*REXX program writes a "record" (event) to the (Microsoft) Windows event log. */
/* [↓] cmd options have extra spacing.*/
'EVENTCREATE /T INFORMATION /ID 234 /L APPLICATION /SO REXX' ,
'/D "attempting to add an entry for a Rosetta Code demonstration."'
/*stick a fork in it, we're all done. */</lang>
{{out|output|text= is identical to the 1<sup>st</sup> REXX version.}} <br><br>
=={{header|Ruby}}==
|