Tampilkan postingan dengan label Table. Tampilkan semua postingan
Tampilkan postingan dengan label Table. Tampilkan semua postingan

Tables In Corona

Posted by Unknown Jumat, 13 September 2013 0 komentar
The table constructor is written using braces
(curly brackets) as in { }

t = {}   -->create a table

k = "x"
t[k] = "tabvalue" --new table entry,
-->with key="x" and value=2.4

print( t[k] ) --> 2.4
print( t["x"] ) --> 2.4
print( t.x ) --> 2.4

t[2] = "tabval2" --new table entry,
-->with key=2 and value="tabval2"
t[3]= 2.4
print( t[2] ) --> "tabval2"
print( t[3] )

Baca Selengkapnya ....

HTML Tag - Tables

Posted by Unknown Rabu, 28 Agustus 2013 0 komentar
<table>
This
defines the HTML table.This tag has elements like <tr>,<th>,<td>.
<tr>
This
defines a row in the HTML table.
<td>
This
defines a cell in the HTML table.
<tbody>
This tag is used to group the body content in a HTML table.

<thead>
This tag is used to group header in an HTML table

<tfoot>
This tag is used to group footer content in an HTML table.

<col>
This tag specifies properties for each column within a <colgroup> element.

<colgroup>
This tag specifies a group of one or more columns in a table for formatting

<caption>
This tag defines a table caption.

 
<html>
<body>































1 2
Sum $180
Day Events
Monday conference
Wednesday meeting

</body>
</html>

Baca Selengkapnya ....

Types and Values In Corona

Posted by Unknown Kamis, 22 Agustus 2013 0 komentar
Lua is a dynamically typed language. This means that variables do not have types; only values do. There are no type definitions in the language. All values carry their own type.
All values in Lua are first-class values. This means that all values can be stored in variables, passed as arguments to other functions, and returned as results.
nil — it usually represents the absence of a useful value.
boolean
 — represents two conditions 'false' or 'true'
number
 — represents real (double-precision floating-point) numbers.
string
 — represents arrays of characters. Lua is 8-bit clean: strings can contain any 8-bit character,   including embedded zeros.
function 
— click here to get more details
table
 — the sole data structuring mechanism in Lua.

Baca Selengkapnya ....

Copying an Array and Sorting it in Corona

Posted by Unknown Selasa, 08 Januari 2013 0 komentar

copyarray = table.copy( randomArray)
local function compare( a, b )
return a < b
end
table.sort( copyarray, compare )

Baca Selengkapnya ....
Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of android populer.