Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


possible to give values to arrays in Sub Globals?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-17-2008, 10:07 AM
Senior Member
 
Join Date: Apr 2007
Posts: 192
Default possible to give values to arrays in Sub Globals?

Hi,

Maybe a stupid question but I couldn't find an answer to it. In other languages it is possible to declare an array and immediately give it a value, e.g.
DIM Array(10) = (1,2,3,4,5,6,7,8,9)
This is not possible in Basic4PPC? I have to give every entry a single line?
array(0) = 1
array(1) = 2
array(2) = 3
etc. etc. ?
thnx
Marc
Reply With Quote
  #2 (permalink)  
Old 02-17-2008, 11:34 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,815
Default

See this post: Filling arrays
Reply With Quote
  #3 (permalink)  
Old 02-17-2008, 12:10 PM
Senior Member
 
Join Date: Apr 2007
Posts: 192
Default

Erel, that's it!!
Again that StrSplit function that has magical possibilities!
thnx
Marc
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
Filling 2-D arrays. grgczyz Basic4ppc Wishlist 1 02-14-2008 11:38 AM
Filling arrays Erel Code Samples & Tips 3 01-13-2008 05:11 PM
V6-not-optim, V6-Debug, and V6-optimised give not the same nested FOR-NEXT execution dan kabestan Questions & Help Needed 1 01-04-2008 07:17 PM
Arrays of any size Gale Johnson Code Samples & Tips 5 08-17-2007 04:55 AM
Give me an idea conf Questions & Help Needed 6 07-03-2007 06:18 PM


All times are GMT. The time now is 05:53 AM.


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