Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Bug Reports
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.


Dbasic crashes on bad code


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-10-2007, 01:17 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,704
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default Dbasic crashes on bad code

If you have a global variable and a sub of the same name and reference the variable in the sub then Dbasic crashes without emitting a warning.

Code:
Sub Globals
	'Declare the global variables here.
	fred = true
End Sub

Sub App_Start
	Form1.Show
End Sub

Sub fred
	fred = true
End Sub
This had me panicking for a while - the code that started doing it to me was not quite as straightforward as the fragment above that I distilled the problem down to.
Reply With Quote
  #2 (permalink)  
Old 11-10-2007, 01:27 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,143
Default

Thank you for posting this bug.
It will be fixed in the next release.
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IDE crashes on device kolbe Bug Reports 3 08-16-2008 10:27 AM
More command line args for Dbasic Cableguy Basic4ppc Wishlist 0 06-22-2008 01:17 PM
Compile forced QVGA crashes B4PPC willisgt Bug Reports 13 05-20-2008 03:21 PM
Program crashes in recorder.dll HARRY Questions & Help Needed 5 03-09-2008 08:26 PM
Is Dbasic not secondary display aware? agraham Bug Reports 0 11-17-2007 02:03 PM


All times are GMT. The time now is 11:16 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0