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

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Announcements
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Announcements Announcements of new versions and new libraries.

Next version new features

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-05-2008, 04:08 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Lightbulb Next version new features

Next version major improvement will be support for modules.
Modules are units of code. Each module can have its own set of subroutines and global variables (which are declared in the module's "Globals" subroutine).
Each sub and global variable can have the "public" access modifier.
Only public subs and variables will be accessible outside of their module.
Objects and controls will be global to all modules.
Accessing a sub or variable in a different module will be done by writing the module name followed by a period and then the actual value.
On the desktop IDE you will be able to view each module in a different tab.
Each module will be saved to a different file (the module name with .bas extension).

These new features will be very helpful with writing large projects and sharing code between several projects.

The version after this one will focus on an improved types system.

You are more than welcomed to share your ideas about this and how it should be implemented.
Reply With Quote
  #2 (permalink)  
Old 07-05-2008, 05:25 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

It's almost like being able to "create" your own "dll's", but all in B4P...And always re-usable..
Great improvement....
Still, will some other of the wishlist suggestion be implemented?
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #3 (permalink)  
Old 07-05-2008, 05:39 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Quote:
Still, will some other of the wishlist suggestion be implemented?
There will be other new features as well. However it is too early to say which features.
Reply With Quote
  #4 (permalink)  
Old 07-05-2008, 05:46 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

Quote:
The version after this one will focus on an improved types system.
I've already been thinking about this. Here is my initial haporth ha’p’orth definition - Dictionary - MSN Encarta on typing
Attached Files
File Type: sbp B4ppcTyping1.sbp (2.7 KB, 44 views)
Reply With Quote
  #5 (permalink)  
Old 07-05-2008, 06:18 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

I like your suggestions agraham.
It will not be simple to fully implement all of this but the reason behind it is clear.

The "typed" version is still pretty far. Please feel free to also express your thoughts about the "modules" version.
Reply With Quote
  #6 (permalink)  
Old 07-06-2008, 03:27 AM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default

The modular concept is a highly welcome enhancement.
Could this later be extended to the capability of saving
forms as individual files that can be imported into a project?
Frequently re-used forms are Settings and About screens,
but not exclusively.
Reply With Quote
  #7 (permalink)  
Old 07-06-2008, 04:17 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Quote:
Could this later be extended to the capability of saving
forms as individual files that can be imported into a project?
Maybe in a future version.
I'm sure that you are aware of the FormDuplicator which allows you to copy forms between projects: http://www.basic4ppc.com/forum/offic...-projects.html
Reply With Quote
  #8 (permalink)  
Old 07-06-2008, 05:58 AM
Knows the basics
 
Join Date: May 2007
Posts: 78
Awards Showcase
Beta Tester 
Total Awards: 1
Default Flush function

'Flush' keystroke, taps and button presses.

Currently, when an action is being processed, any keystroke, screentap, button pressed will be 'detected' and kept in memory. When the process has been completed, these keystrokes will then be executed.

In many cases, these may lead to different forms being shown (in cases when the process is long, and users tapping on various buttons, etc), wrong actions being performed, and unpleasant scenarios.

Having a flush function would clear all current keystrokes in memory. Apart from having a better controlled program, it has some preventive (protection) usage as well.
Reply With Quote
  #9 (permalink)  
Old 07-06-2008, 08:48 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,461
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Erel,

I'm shure that this will be a big improvement, which will allow to share common code between projects an even have a better code structure than with the Region option.

It would be interesting that the modules could be in different directories. In my programs there is some common code that could be in one or several modules in a general directory and the specific code for a specific program in it's specific directory. So all projects look for these general modules in the same directory and no need to copy them to all project directories.

I fully support alfcen's proposal for Forms, that they could be saved individually or why not belong to a module. Unfortunately, the FormDuplicator copies only a Form to the target project but not the code that belongs to, FormEvents ControlEvents etc. Having the form saved with it's code means saving the whole functionality of the form, not only it's graphics.

For the dll's, the IDE knows where they are, why always need to copy those to the program's directory and not only specify which ones are used, especially now that most of them are merged to the exe file. If the non merged dlls must be copied to the directory why not. But the ideal case would be that all needed libraries are merged to the exe file.

In the IDE it would be usefull to have a listbox or a combobox with the list of all controls. If there are many on a form, it would be much easier to select one instead of clicking and clicking the next button, and as I often do, missing it.

Could some of the official dlls, with complementary functionalities like the Formlib or with new Controls like the ControlEx library be integrated into the IDE, if I remember well, it was a request from Cableguy some time ago.

I also fully subscribe to agraham's proposals for the variable transfer between Subroutines.

Of course these are for shure no critics at all, but suggestions and wishes to make this fantastic product more and more brilliant.

Best regards.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #10 (permalink)  
Old 07-06-2008, 12:08 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

Another haporth making a full pennorth now Includes some comments on function return types, b4p delegates and For loops


Quote:
Originally Posted by Erel View Post
Please feel free to also express your thoughts about the "modules" version.
Sorry, I misunderstood your post. When you said "about this" I thought it implied that Module details were settled and you were asking about types

I think Modules are a very good idea and only involve a single addition to the B4ppc syntax 'Public'. I assume that the mechanism will be based on the existing capability of referencing source files as components so keeping compatibility with the device IDE which I assume (maybe wrongly?) won't support tabbed editing

I am less sure about the need for module name prefixing, the .NET languages get away without it for objects in referenced assemblies except where it is needed in the case of a name clash. It might also make AutoComplete a bit clumsy.
Attached Files
File Type: sbp B4ppcTyping2.sbp (4.9 KB, 21 views)
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
VGA Version of the PPC IDE Mr_Gee Basic4ppc Wishlist 7 10-22-2008 02:59 PM
Version 6.01 Problem with SIP Features of Hardware Library Woinowski Bug Reports 4 01-08-2008 12:59 PM
useful features albgreco Basic4ppc Wishlist 5 01-03-2008 01:49 PM
New Version 6.01 IansResearch Questions (Windows Mobile) 2 12-28-2007 11:12 AM
Version 5.00 has been sent Erel Announcements 3 06-28-2007 07:23 AM


All times are GMT. The time now is 07:52 AM.


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