Search found 29 matches

by stan
Tue Jan 27, 2004 2:40 pm
Forum: Feature Requests and Wishlists
Topic: New forum areas and sections, add on products.
Replies: 2
Views: 1443

Have a look at the first post of the beginner's forum it should provide a good starting point.

Hope this helps.

Bests.

Stan.
by stan
Thu Jan 22, 2004 5:14 pm
Forum: Coding Questions
Topic: question about buying PB and pure vision.
Replies: 4
Views: 1844

Hi,
hey, and i'm not even a lawyer, and from a different country and only applying logic
Do you really think lawyers apply logic ? :D :D :D

Bests.

Stan.
by stan
Wed Jan 14, 2004 12:39 am
Forum: Tricks 'n' Tips
Topic: multiple monitors
Replies: 22
Views: 14121

Hi blueznl,

You're perfectly right ! My right monitor was higher than the left one (I didn't know that you could move them in the display properties, I thought it was just a symbolic representation of the screens ...).
Your program now runs perfectly !!! (and may I add that you're a real wizard ...
by stan
Tue Jan 13, 2004 7:31 am
Forum: Tricks 'n' Tips
Topic: multiple monitors
Replies: 22
Views: 14121

Hi,

It's better I get :

This is what I get :
monitor 1
primary display
name \\. \Display1\Unit0
handle 4514
pos x 0
pos y 0
width 1280
height 1024
depth 32
refresh 0

monitor 2
name \\. \Display1\Unit1
handle 4576
pos x 1280
pos y - 280 ; INSTEAD OF -65816
width 1024
height 768 ...
by stan
Tue Jan 13, 2004 2:38 am
Forum: Feature Requests and Wishlists
Topic: [Implemented] More complex compiler directive expressions
Replies: 1
Views: 1133

Hi,

I know it's a hack but and that it solves only part of your problem, but this may help ...


#Any_OS = 1 ; Any OS
#Ami_only = #PB_Compiler_OS = #PB_OS_AmigaOS ; Amiga only
#Lin_Only = #PB_Compiler_OS = #PB_OS_Linux ; Linux only
#Win_Only = #PB_Compiler_OS = #PB_OS_Windows ; Windows only
#Lin ...
by stan
Mon Jan 12, 2004 11:43 am
Forum: Tricks 'n' Tips
Topic: multiple monitors
Replies: 22
Views: 14121

blueznl,

What do you mean by monitor 2 is left of 1 ?
Physically, monitor 2 (the one attached to the DVI output), is to the right of monitor 1 and when going from 1 to 2 I drag windows to my right as well.

This is what I get :
monitor 1
primary display
name \\. \Display1\Unit0
handle 4514
pos x 0 ...
by stan
Fri Jan 09, 2004 2:22 pm
Forum: Tricks 'n' Tips
Topic: multiple monitors
Replies: 22
Views: 14121

Works here except second monitor :
pos y -65816

Win 98 SE
ATI Radeon 7500 (catalyst 03.9)

Bests.

Stan.
by stan
Fri Nov 28, 2003 4:24 pm
Forum: Coding Questions
Topic: Root(number.f,power.f)
Replies: 8
Views: 4492

Hi,

Sure it works ... because you just wrote the same thing (in disguise) twice :

Root(number_to_caculate, the_power) == pow(number_to_caculate, 1/the_power)

as you defined
root( x, y ) = pow( x, 1/y ) ...

but if you try pow( root( x, y ), y ) you should get x, which is not the case try this ...
by stan
Tue Nov 25, 2003 2:49 pm
Forum: Coding Questions
Topic: Root(number.f,power.f)
Replies: 8
Views: 4492

Guimauve,

Thre is nothing wrong about your procedure, but telling if it works well or not depends on the accuracy you expect, here is a slightly modified version of your code which can help you to see if ir fits your needs.


OpenConsole( )

Procedure.f Root(number.f,power.f)
ProcedureReturn Pow ...
by stan
Mon Nov 17, 2003 3:09 pm
Forum: Coding Questions
Topic: Programming question
Replies: 21
Views: 4945

Blueznl,

You are perfectly right (and your code is right as well :) :) :) ) please do accept my apologies.

I wonder however how random is the random function : I ran this code for more than 130 000 iterations :


OpenConsole( )

Ok = 1
i = 1
min_min = 0
max_max = 1000

Repeat

password_n = 500 ...
by stan
Mon Nov 17, 2003 1:16 pm
Forum: Coding Questions
Topic: Programming question
Replies: 21
Views: 4945

Hi blueznl,


this will do it...
Code:
password_n = 500
user_n = 200
;
Dim passwords.s(password_n)
Dim gekozenpasswords.s(user_n)
;
For n = 1 To password_n
passwords(n) = "watdanook"+Str(n)
Next n
;
For n = 1 To user_n
r = Random(password_n-1)+1
gekozenpasswords(n) = passwords(r ...
by stan
Tue Oct 28, 2003 2:44 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] Don't allow undeclared variables
Replies: 26
Views: 6663

Hi,

I completely agree with you about the bug possibilities, on the other hand it would mean decalring all the variables in my "old" programs, so maybe a slightly better solution : a switch in the compiler options allowing to choose between being obliged to declare or not.

Bests.

Stan.
by stan
Wed Oct 22, 2003 12:13 pm
Forum: Coding Questions
Topic: I wanna know the undocumented/locked commands
Replies: 9
Views: 2929

Hi,
well, if there would be a list they wouldn't be undocumented, now would they?
_________________
system p3-800 512mb gforce4-4800se win98/xp pb380 japbe
Do you mean it's an undocumented feature ? :D :D :D

Bess.

Stan.
by stan
Fri Oct 17, 2003 2:46 pm
Forum: Coding Questions
Topic: Finding DirectX version ++
Replies: 2
Views: 1176

Hi,


tried the searchfunction ?
here is my result:
http://forums.purebasic.com/english/viewtopic.php?t=3703&highlight=dxversion


Yes, I did ... but I am a newbie and I don't think that this is SIMPLE ... (I may have precised that it should work for all Win versions and all computers - for ...
by stan
Fri Oct 17, 2003 8:28 am
Forum: Coding Questions
Topic: Finding DirectX version ++
Replies: 2
Views: 1176

Finding DirectX version ++

Hi,

Is there a simple way to detect the DirectX version in use ?

An is there also a simple way to know if Window Media Player is installed on the computer and its version as well ?

TIA.

Bests.

Stan.