Home
Screenshots
Showcase
Features
Download
Purchase
Online Community
Documentation
Contact Us
Download the free trial version
Features
Tutorials and manuals
Showcase
Screenshots
Android Development Forum - Basic4android
>
Basic4ppc (Windows Mobile)
>
Basic4ppc Wishlist
>
Bug Reports
Bug? Debug Run and Compile Results Differ
User Name
Remember Me?
Password
Documentation Wiki
Register
Members List
B4P Search
Today's Posts
Mark Forums Read
Bug Reports
Post about errors or bugs encountered.
Bug? Debug Run and Compile Results Differ
LinkBack
Thread Tools
Display Modes
#
1
(
permalink
)
02-08-2011, 12:10 PM
epsharp
Junior Member
Join Date: Sep 2008
Posts: 29
Bug? Debug Run and Compile Results Differ
TimeFormat("HHmm")
curTime = Time(Now) + 0
At one minute past midnight, curTime shows 1 when run in debug mode.
It shows shows 00010 when run compiled.
The intent was to be able to test the curTime field for a series of early morning times without having to use the leading zeros.
Regards,
Ed Sharp
Attached Files
Test.sbp
(457 Bytes, 3 views)
#
2
(
permalink
)
02-08-2011, 01:04 PM
Erel
Administrator
Join Date: Apr 2007
Posts: 15,714
Awards Showcase
Total Awards
: 1
Time(Now) returns a string. You can not add 0 to it.
__________________
Basic4android documentation
,
IDE tips
,
Supporting multiple screens - tips and best practices
#
3
(
permalink
)
02-08-2011, 02:54 PM
mjcoon
Basic4ppc Expert
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Total Awards
: 1
Quote:
Originally Posted by
Erel
Time(Now) returns a string. You can not add 0 to it.
That's a good reason for not writing
Code:
curTime = Time(Now) +
0
It isn't an explanation of why "Debug Run and Compile Results Differ".
Mike.
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
On
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
How to Run with debug?
colin9876
Basic4android Updates and Questions
3
12-24-2010
12:49 PM
Trig functions returning bogus results
focusrocker
Questions (Windows Mobile)
1
09-07-2009
06:16 PM
Results To Other Module
ceaser
Questions (Windows Mobile)
7
05-29-2009
04:10 PM
Debug library
agraham
Additional Libraries
10
10-15-2008
03:13 PM
incorrect results on screen size 480x272
gs4322
Questions (Windows Mobile)
5
01-15-2008
04:40 PM
All times are GMT. The time now is
04:20 PM
.
Contact Us
-
Basic4android - Android programming
-
Top
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by
vBSEO
3.3.0
LinkBack
LinkBack URL
About LinkBacks