Search found 16 matches

by Sunny
Sat Apr 16, 2005 11:06 pm
Forum: Announcement
Topic: PureBasic Visual Designer 3.91 BETA 4 Released
Replies: 32
Views: 12215

Little Bug: Deleting a ScrollbarGadget don't clear the graphic on the window. It's still displayed on the window. After setting a new one it's gone away.
by Sunny
Wed Nov 17, 2004 5:21 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] More optional IDs for the Image-Lib please
Replies: 0
Views: 1037

[Implemented] More optional IDs for the Image-Lib please

Hello there,

would be nice to have an (optional or fix) ID-parameter for the image-Lib. I think this wouldn't be too difficult because some image commands already got the #imageID parameter, but not all.
Could be like that:

- ImageWidth(#imageID)
- ImageHeight(#imageID)
- ImageDepth(#imageID ...
by Sunny
Tue Sep 14, 2004 3:45 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] Personal account on purebasic.com
Replies: 1
Views: 1011

[Implemented] Personal account on purebasic.com

Hello,

I've been using PureBasic since one year and every update in the past made the programming language a little bit better. But the last one, PB windows version 3.91 makes some trouble with user libs and so on. So I decided to deinstall it and install the 3.90 again.
For that cases, is it ...
by Sunny
Sun Sep 12, 2004 11:50 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] Better CASE
Replies: 6
Views: 2063

jeah, I also think that is a nice feature. In Delphi it is done like that, I think:

case [0..100]

For PB it would be nice to have a syntax like that:

case 0 to 100 (as RichardL said)
or
case 0 ... 100
by Sunny
Thu Sep 09, 2004 4:42 pm
Forum: Feature Requests and Wishlists
Topic: PlaySound(#sound,DirectXEffekt,para1,para2)
Replies: 3
Views: 1424

The soundvolume to change would be nice. Now every sound is played with the same volume. Maybe add a parameter where you can give values from 0 to 100, so all in %.
And the possibility to play more than one sound at the same moment.
by Sunny
Sat Sep 04, 2004 11:33 pm
Forum: Game Programming
Topic: Isometric demo code
Replies: 22
Views: 12913

Really nice. And very fast. But i wonder if it is so fast too if there were more different objekts with a different shape. And not static objects, moving objects. Then the handling with that engine will be more difficult because now it is only for static objects, as i have seen until now. You're ...
by Sunny
Sat Sep 04, 2004 11:13 am
Forum: Feature Requests and Wishlists
Topic: [Implemented] Reading strings until reaching a size of bytes
Replies: 2
Views: 1568

Oh, sorry, I've never seen that command, so never used... 8O
But better already included than in to-do-list. :wink:
by Sunny
Fri Sep 03, 2004 9:49 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] Reading strings until reaching a size of bytes
Replies: 2
Views: 1568

[Implemented] Reading strings until reaching a size of bytes

Hello,

I got an idea for a better handling with the file-system. What is about reading a string until a size of bytes is reached? Is that possible?
Like that:

ReadString([size_in_byte])
So it is not necessary to got a "end of line"- sign and many strings could be in one line without seperate ...
by Sunny
Wed May 26, 2004 12:12 am
Forum: Feature Requests and Wishlists
Topic: Variable after for-step
Replies: 4
Views: 1587

It does not answer well, as it does not answer for floats at all but :

for i = 1 to n
; do what you want
i + something
next

works anyway!

.... in the meanwhile

But maybe in some later versions, you will not be allowed to change the counter-variable, in this example it's "i". I remember, not ...
by Sunny
Mon May 24, 2004 4:59 pm
Forum: Feature Requests and Wishlists
Topic: Variable after for-step
Replies: 4
Views: 1587

Variable after for-step

Hi,

if it's not already on the to-do-list, it will be nice to have the possibility to have a variable as the "step" of a for-loop. Now it's only possible to make a "for-loop-step" with a constant value, variables are not accepted.

mfg.

Sunny
by Sunny
Fri Apr 23, 2004 5:45 pm
Forum: Coding Questions
Topic: How do YOU code?
Replies: 26
Views: 6750

I'm allways separating my variablenames with ' _ '.

As this, for example:

Code: Select all

days_of_the_year = 365
or

Code: Select all

area\map_size_x
For me, it's better to write with ' _ ' as with capitalization during a name.
by Sunny
Fri Apr 23, 2004 1:22 pm
Forum: Coding Questions
Topic: Get keyboard press key
Replies: 8
Views: 2235

To check one special key, use this commands:

Code: Select all

initkeyboard()

;inits and co.

;start-mainloop

examinekeyboard()
if keyboardpushed(#PB_Key_Space)
  ;do this, after key-space was pushed
endif

;end-mainloop

by Sunny
Thu Apr 22, 2004 8:39 pm
Forum: Coding Questions
Topic: Visual Basic compiler ?
Replies: 7
Views: 2348

Hm, in this archive is already an application. It seems to be already compiled, or do you want to recompile it?
by Sunny
Wed Apr 21, 2004 10:36 pm
Forum: Coding Questions
Topic: Linked Lists or Arrays
Replies: 18
Views: 4960

With an array, the nedded memory will be located at the start of the application. With a linked list, no memory is needed first when 0 elements are added. And even if you add an element, only the memory needed for this one element is now in use. So it's more flexibel and more dynamically as an array ...
by Sunny
Wed Apr 21, 2004 8:45 pm
Forum: Coding Questions
Topic: SetListIconGadgetColor() prob
Replies: 3
Views: 1065

(Text from library-manual:) Tested with : PureBasic 3.72 Os : Windows 98SE, XP home edition

You see, this library is only tested with 3.72 and after installing the last version of PB (3.90), it might come to errors with some librarys, so they must be recompiled for this version before using using ...