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.

Dbasic crashes on bad code

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-10-2007, 12:17 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
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, 12:27 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,701
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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 Off
Pingbacks are Off
Refbacks are On

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


All times are GMT. The time now is 02:59 PM.


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