Author: lou
Date: 2007-10-23 09:36:57 -0700 (Tue, 23 Oct 2007)
New Revision: 6967

Modified:
   openlaszlo/trunk/docs/src/developers/programs/debugging-$4.lzx
Log:
Change 20071023-lou-C by [EMAIL PROTECTED] on 2007-10-23 12:31:26 AST
    in /Users/lou/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Example 50.3. Logging to the debugger in dguide is unclear

New Features: give the button text, show both x and y onclick
              change second Debug.write to Debug.format

Bugs Fixed: LPP-4953

Technical Reviewer: P T Withington
QA Reviewer: (pending)
Doc Reviewer: John Sundman



Modified: openlaszlo/trunk/docs/src/developers/programs/debugging-$4.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/debugging-$4.lzx      
2007-10-23 16:11:42 UTC (rev 6966)
+++ openlaszlo/trunk/docs/src/developers/programs/debugging-$4.lzx      
2007-10-23 16:36:57 UTC (rev 6967)
@@ -1,9 +1,7 @@
-
-<canvas debug="true" height="150">
-  <script>
-    Debug.write('user code');
-  </script>
-  <button onclick="Debug.write('click', getMouse('x'))"/>
+<canvas debug="true" height="350">
+  <script>Debug.write('user code\n');</script>
+  <button text="Get x, y" width="150" height="150"
+  onclick="Debug.format('click: x=%d, y=%d\n', getMouse('x'), getMouse('y'))" 
/>
 </canvas>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
 * Copyright 2007 Laszlo Systems, Inc.  All Rights Reserved.                   *


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to