This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
sample_code:unit_convert [2014/10/20 19:55] administrator created |
sample_code:unit_convert [2014/11/01 12:48] 106.77.65.188 [Converlator] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | Simplistic demo of how a unit-conversion | + | Calculator+Converter |
===== The code ===== | ===== The code ===== | ||
<code javascript unit_convert.js> | <code javascript unit_convert.js> | ||
Line 11: | Line 11: | ||
function OnStart() | function OnStart() | ||
{ | { | ||
- | //Create a layout | + | //Create a horizontal |
lay = app.CreateLayout( " | lay = app.CreateLayout( " | ||