android
  #21  
Old 03-31-2010, 04:36 PM
ThievingSix ThievingSix is offline
Member
 
Join Date: Aug 2008
Posts: 218
Default

Well it's still the same number of bytes in memory. Once it gets compiled into byte code when you run it or if you precompile it, you will still get it as if Boolean = true, even if you omit the "true".

So true, it is personal choice. But as for the original question as to why Creative does it, we'll never know.
__________________
Only ONE more functions in the Wiki need addressing!
Zen X-Fi2 LUA Wiki
Want to protect your applications? Click Here!
Tower Defense Thread
Zen Lock - Protect Your Zen!
Reply With Quote

 
  #22  
Old 06-04-2010, 02:32 AM
Redwolfhome's Avatar
Redwolfhome Redwolfhome is offline
Junior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 91
Default

Quote:
Originally Posted by Tetrajak View Post
Q. The sound in my application doesn't work, what's wrong?

A. Make sure the sounds you're using in your application are .WAV files at 44100Hz (44.1kHz), 16bit and stereo. To do this use a program such as Audacity or Formatoz. Got another program you use to alter your .wav files? Why not let the FAQ know?
You can using Super, too and an other lua editor is Scite
Reply With Quote
  #23  
Old 10-24-2010, 01:51 AM
afraaa's Avatar
afraaa afraaa is offline
Junior Member
 
Join Date: Oct 2010
Posts: 24
Default

wow amazing i am half way in programming engineering ..sound very interesting . thank u all
Reply With Quote
  #24  
Old 07-01-2011, 04:22 AM
Kalle Kula Kalle Kula is offline
Junior Member
 
Join Date: May 2010
Posts: 37
Default The 401*241 screen?

Quote:
screen.drawline(x, y, x2, y2, c);
Draws a line on the screen memory buffer from (x,y) to (x2,y2) in
the color c.
-screen.drawline(0,0,400,240,clBlack);
is this correct?
draws a line from pixel 1,1 to 400,240


Quote:
touch.pos(): integer, integer;
If there has been a touch screen event, return the X, Y coords
of the event.
-x, y = touch.pos();
that is correct?
the value of x,y is [0..399] [0..239]
or
the value of x,y is [1..400] [1..240]
Reply With Quote
Reply

Tags
application, faq, lua, x-fi2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:38 PM.