This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
sample_code:start [2016/08/28 20:26] titus [Sample programs] |
sample_code:start [2018/12/30 13:55] 182.1.60.113 [Sample DroidScript Code] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Sample DroidScript Code====== | + | <Type Name=" |
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <format type=" | ||
+ | |||
+ | ## Remarks | ||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | ## Version Considerations | ||
+ | In the .NET Framework 1.0 and 1.1, you could catch a < | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | > [!NOTE] | ||
+ | > Applying the < | ||
+ | |||
+ | If your app hosts the common language runtime (CLR), it can specify that the CLR should unload the application domain where the stack overflow exception occurs and let the corresponding process continue. For more information, | ||
+ | |||
+ | | ||
+ | </ | ||
+ | < | ||
+ | <related type=" | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <Member MemberName=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <format type=" | ||
+ | |||
+ | ## Remarks | ||
+ | The following table shows the initial property values for an instance of < | ||
+ | |||
+ | |Property|Value| | ||
+ | |--------------|-----------| | ||
+ | |< | ||
+ | |< | ||
+ | |||
+ | | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <Member MemberName=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | <param name=" | ||
+ | < | ||
+ | < | ||
+ | <format type=" | ||
+ | |||
+ | ## Remarks | ||
+ | The following table shows the initial property values for an instance of < | ||
+ | |||
+ | |Property|Value| | ||
+ | |--------------|-----------| | ||
+ | |< | ||
+ | |< | ||
+ | |||
+ | | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <Member MemberName=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | <param name=" | ||
+ | <param name=" | ||
+ | < | ||
+ | < | ||
+ | <format type=" | ||
+ | |||
+ | ## Remarks | ||
+ | An exception that is thrown as a direct result of a previous exception can include a reference to the previous exception in the < | ||
+ | |||
+ | The following table shows the initial property values for an instance of < | ||
+ | |||
+ | |Property|Value| | ||
+ | |--------------|-----------| | ||
+ | |< | ||
+ | |< | ||
+ | |||
+ | | ||
+ | </ | ||
+ | < | ||
+ | <related type=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
====Sample programs==== | ====Sample programs==== | ||
+ | [[Dice]]- This is a simple dice game. \\ | ||
+ | [[Digital Clock]]- Shows Time and date. | ||
+ | \\ | ||
[[DroidScript Console]]- Similar to command prompt in Windows. \\ | [[DroidScript Console]]- Similar to command prompt in Windows. \\ | ||
[[Filter]]- This sample shows how to filter items in a list. \\ | [[Filter]]- This sample shows how to filter items in a list. \\ | ||
Line 44: | Line 256: | ||
[[sample_code: | [[sample_code: | ||
[[sample_code: | [[sample_code: | ||
+ | [[sample_code: | ||
[[sample_code: | [[sample_code: | ||
[[sample_code: | [[sample_code: | ||
Line 55: | Line 268: | ||
[[sample_code: | [[sample_code: | ||
[[sample_code: | [[sample_code: | ||
+ | [[inputbox|Dialog for user input]] Get a string from the user\\ | ||
[[sample_code: | [[sample_code: | ||
[[sample_code: | [[sample_code: | ||
Line 69: | Line 282: | ||
[[sample_code: | [[sample_code: | ||
[[sample_code: | [[sample_code: | ||
+ | [[sample_code: | ||
+ | ---- | ||
+ | |||
+ | ====Samples on the forum==== | ||
+ | [[forum_sample_links|Links to samples]] on the official DroidScript forum | ||
+ | |||
---- | ---- | ||