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.

CallSub doesn't respect Public

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-05-2009, 07:04 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default CallSub doesn't respect Public

You can use CallSub to call a Sub in another module even though the Sub is not marked Public.

Having some idea what's going on inside Basic4ppc I guess this is probably not (easily) fixable, if indeed it is worth fixing at all.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #2 (permalink)  
Old 12-06-2009, 06:32 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

As I see it CallSub is similar to .Net Reflection GetMethod feature which also doesn't respect the method visibility. The same goes for AddEvent.
__________________
Basic4android documentation
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
Making an array Public Cableguy Questions (Windows Mobile) 7 09-28-2009 01:18 PM
callsub error wolko Questions (Windows Mobile) 8 03-11-2009 09:01 AM
Public Events Cableguy Basic4ppc Wishlist 2 01-04-2009 10:10 PM
Get External IP (public IP) maXim Code Samples & Tips 1 05-23-2008 09:09 AM
Get External IP (public) maXim Italian Forum 1 05-20-2008 04:55 PM


All times are GMT. The time now is 02:00 AM.


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