Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Bug Reports
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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-08-2011, 12:10 PM
Junior Member
 
Join Date: Sep 2008
Posts: 29
Default 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
File Type: sbp Test.sbp (457 Bytes, 3 views)
Reply With Quote
  #2 (permalink)  
Old 02-08-2011, 01:04 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,714
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Time(Now) returns a string. You can not add 0 to it.
Reply With Quote
  #3 (permalink)  
Old 02-08-2011, 02:54 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Erel View Post
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

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.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0