Search found 10 matches
- Sun Aug 07, 2005 5:16 pm
- Forum: Off Topic
- Topic: Commercial Games and Apps written in PB?
- Replies: 14
- Views: 3597
- Thu Aug 04, 2005 5:30 pm
- Forum: Coding Questions
- Topic: Linkedlist help needed
- Replies: 9
- Views: 3283
Thank you again. I figured that out but I was hoping that there is a simple way. I started to learn PureBasic few days ago and I'm a little disappointed that lists are so complicated. In Python for example whole this job can be done with few commands in 2-3 raws. I hope I'll find PB's good sides in ...
- Thu Aug 04, 2005 5:22 pm
- Forum: Coding Questions
- Topic: Random number pickup
- Replies: 10
- Views: 2898
- Wed Aug 03, 2005 10:42 pm
- Forum: Coding Questions
- Topic: Random number pickup
- Replies: 10
- Views: 2898
Really it doesn't work, but I got the point of what he meant to do. Also, check this topic about linkedlists. It may help you:
viewtopic.php?t=16135
viewtopic.php?t=16135
- Wed Aug 03, 2005 1:19 pm
- Forum: Coding Questions
- Topic: Linkedlist help needed
- Replies: 9
- Views: 3283
- Tue Aug 02, 2005 11:02 pm
- Forum: Coding Questions
- Topic: Linkedlist help needed
- Replies: 9
- Views: 3283
- Tue Aug 02, 2005 2:20 pm
- Forum: Coding Questions
- Topic: Linkedlist help needed
- Replies: 9
- Views: 3283
- Mon Aug 01, 2005 9:21 pm
- Forum: Coding Questions
- Topic: Linkedlist help needed
- Replies: 9
- Views: 3283
Linkedlist help needed
I want to make a simple lottery program with linkedlist but I'm not sure how to do it.
Here is my code:
---------------------------------------
NewList mylist.l()
For i = 1 To 39
AddElement(mylist())
mylist() = i
Next
PrintN("Result: "+Str(mylist()))
;And PureBasic crushes ...
Here is my code:
---------------------------------------
NewList mylist.l()
For i = 1 To 39
AddElement(mylist())
mylist() = i
Next
PrintN("Result: "+Str(mylist()))
;And PureBasic crushes ...
- Sun Mar 06, 2005 4:19 pm
- Forum: Coding Questions
- Topic: Any purebasic e-book ?
- Replies: 41
- Views: 22099
Any purebasic e-book ?
Is there any free purebasic e-book (for beginners or any) available for download, possibly in *.pdf format so that I can print it and make learning of this programming language easier ?
- Sun Mar 06, 2005 4:11 pm
- Forum: Coding Questions
- Topic: Random numbers
- Replies: 1
- Views: 960
Random numbers
I want to program a simple football manager game and I wonder if Pure Basic have support for random numbers ? A litle example of how do I generate them will be appriciated.