Changes

Jump to: navigation, search

A1 Demo Code Snippet

778 bytes added, 15:38, 7 September 2012
Created page with '<pre> display("abcdefghijklmnopqrstuvwxyz (string)", 4, 5, 0); display( "display - field length: 5", 6, 10+5+7, 0); // field length (last parameter): 5, row: 7 …'
<pre>

display("abcdefghijklmnopqrstuvwxyz (string)", 4, 5, 0);

display( "display - field length: 5", 6, 10+5+7, 0);

// field length (last parameter): 5, row: 7
display("abcdefghijklmnopqrstuvwxyz", 7, 5, 5);

display( "display - field length: 15", 8, 15+7, 0);

// field length: 15, row: 9
display("abcdefghijklmnopqrstuvwxyz", 9, 5, 15);

display( "display - field length: 26", 10, 15+7, 0);

// field length: 0, row: 11
display("abcdefghijklmnopqrstuvwxyz", 11, 5, 26);


// row: 13, column: 5
display( "edit - field length: 7; move the arrow keys; press END, HOME... ", 13, 5, 0);
// field length (4th parameter): 5, row: 16, column: 5
key = edit(str, 16, 5, 7, 80, &insert, &offset, &index);

</pre>
1
edit

Navigation menu