Thank you again for your comments.
Talun: I did see some of the posts you refererred to, and now that I look at them better Tinman already used the method I illustrated above. Sorry about that. The one you liked by Danilo did not declare an array in the structure, so that you could not do things ...
Search found 20 matches
- Thu Sep 11, 2003 12:47 am
- Forum: Feature Requests and Wishlists
- Topic: pointers to arrays
- Replies: 8
- Views: 3065
- Wed Sep 10, 2003 10:15 am
- Forum: Feature Requests and Wishlists
- Topic: pointers to arrays
- Replies: 8
- Views: 3065
- Wed Sep 10, 2003 10:00 am
- Forum: Coding Questions
- Topic: array bounds: bug or feature?
- Replies: 3
- Views: 1413
Thanks for clarifying that. On the basis of the documentation I had expected that Dim a.l(10) would give you 10 elements, especially given the example of a 2-dim array with the number of columns and lines. I am not familiar with the standard BASIC definitions, do BASIC arrays also start with index 0 ...
- Wed Sep 10, 2003 7:16 am
- Forum: Coding Questions
- Topic: array bounds: bug or feature?
- Replies: 3
- Views: 1413
array bounds: bug or feature?
I noticed something strange with the definition of array bounds
OpenConsole()
;
Dim a.l(10)
Structure array
a.l[10]
EndStructure
DefType.array b
n=10
For i=0 To n : a(i)=i :Next
For i=0 To n : b\a[i]=i :Next
n.l=Val(Input())
CloseConsole()
End
In the above code you can use elements 0-10 of ...
OpenConsole()
;
Dim a.l(10)
Structure array
a.l[10]
EndStructure
DefType.array b
n=10
For i=0 To n : a(i)=i :Next
For i=0 To n : b\a[i]=i :Next
n.l=Val(Input())
CloseConsole()
End
In the above code you can use elements 0-10 of ...
- Wed Sep 10, 2003 6:42 am
- Forum: Feature Requests and Wishlists
- Topic: pointers to arrays
- Replies: 8
- Views: 3065
- Wed Sep 03, 2003 3:03 am
- Forum: Feature Requests and Wishlists
- Topic: pointers to arrays
- Replies: 8
- Views: 3065
pointers to arrays
As far as I understand PB currently only supports pointers to structures, labels and procedures. I would like to be able to pass a pointer to an array to a procedure, because procedures that perform an action on an array can be very useful.
I am looking for something like
Dim array.l(100)
Dim ...
I am looking for something like
Dim array.l(100)
Dim ...
- Tue Sep 02, 2003 11:32 pm
- Forum: General Discussion
- Topic: Hyperthreading
- Replies: 3
- Views: 2799
- Tue Sep 02, 2003 6:09 am
- Forum: Coding Questions
- Topic: CPU utilization
- Replies: 21
- Views: 6610
- Tue Sep 02, 2003 5:49 am
- Forum: General Discussion
- Topic: Hyperthreading
- Replies: 3
- Views: 2799
Hyperthreading
Hi all,
I decided to submit this new post to discuss some of the subjects raised in regard to hyperthreading in the responses to my earlier question about CPU utilization in the Beginners section, since the topic is not very close to my original question.
In regard to Ryan's (RJP Computing ...
I decided to submit this new post to discuss some of the subjects raised in regard to hyperthreading in the responses to my earlier question about CPU utilization in the Beginners section, since the topic is not very close to my original question.
In regard to Ryan's (RJP Computing ...
- Fri Aug 29, 2003 1:00 am
- Forum: Coding Questions
- Topic: CPU utilization
- Replies: 21
- Views: 6610
- Thu Aug 28, 2003 2:24 am
- Forum: Coding Questions
- Topic: CPU utilization
- Replies: 21
- Views: 6610
- Wed Aug 27, 2003 11:43 pm
- Forum: Coding Questions
- Topic: CPU utilization
- Replies: 21
- Views: 6610
- Wed Aug 27, 2003 8:50 am
- Forum: Coding Questions
- Topic: CPU utilization
- Replies: 21
- Views: 6610
- Wed Aug 27, 2003 6:49 am
- Forum: Feature Requests and Wishlists
- Topic: ImageGadget returning Events
- Replies: 4
- Views: 2611
ImageGadget returning Events
I understand from the Help files that ImageGadgets do not return Events such as mouseclicks.
I think it would be useful for simple applications that involve some interaction with an image but do not need very fast drawing (using the Sprite/Screen commands) to have this functionality.
This may be ...
I think it would be useful for simple applications that involve some interaction with an image but do not need very fast drawing (using the Sprite/Screen commands) to have this functionality.
This may be ...
- Wed Aug 27, 2003 4:43 am
- Forum: Coding Questions
- Topic: CPU utilization
- Replies: 21
- Views: 6610