Search found 212 matches

by PB&J Lover
Sat Feb 24, 2007 7:43 pm
Forum: Windows
Topic: Vista error
Replies: 2
Views: 2172

Vista error

When I run Purebasic on Vista I get this error.

---------------------------
PureBasic - Linker error
---------------------------
POLINK: fatal error: Access is denied.

---------------------------
OK
---------------------------

What's wrong?
by PB&J Lover
Sun Dec 10, 2006 8:58 pm
Forum: Coding Questions
Topic: Factoral function
Replies: 5
Views: 1720

This is great but what I'd like to know is, what is the largest number I could deal with in my original function. Is there a way get it do deal with larger (real) numbers and not output a string.

ps. Why did you declare a global variable and then reference it in the procedure. That's not a great ...
by PB&J Lover
Sat Dec 09, 2006 5:57 am
Forum: Coding Questions
Topic: Factoral function
Replies: 5
Views: 1720

Factoral function

I'm trying to perfect a factoral function.

Procedure.q Factoral(n.l)
If n >= 0
If n > 0
Define answer.q = 1
While n > 0
answer = answer * n
n - 1
Wend
ProcedureReturn answer
Else
ProcedureReturn 1
EndIf
Else
ProcedureReturn -1
EndIf
EndProcedure

When I use a number greater than 20 I ...
by PB&J Lover
Wed Dec 06, 2006 2:41 pm
Forum: Coding Questions
Topic: Array Bounds
Replies: 6
Views: 2070

That doesn't explain why PeekL(a()-8) returns the bounds of the array. Why does it work technically?

What does the code do?

DB
by PB&J Lover
Wed Dec 06, 2006 4:59 am
Forum: Coding Questions
Topic: Array Bounds
Replies: 6
Views: 2070

But why does this work?
by PB&J Lover
Sun Nov 26, 2006 7:54 am
Forum: Coding Questions
Topic: Convert RGB value to hex???
Replies: 12
Views: 2599

Let the computer do the work. What about this?
Procedure.s RGB2Hex(R.l,G.l,B.l)
ProcedureReturn Hex(Red(RGB(R,G,B)))+Hex(Green(RGB(R,G,B)))+Hex(Blue(RGB(R,G,B)))
EndProcedure

Debug RGB2Hex(36,104,160)
OR
Procedure.s RGB2Hex(RGB.l)
ProcedureReturn Hex(Red(RGB))+Hex(Green(RGB))+Hex(Blue(RGB ...
by PB&J Lover
Thu Oct 19, 2006 5:16 am
Forum: General Discussion
Topic: USB install
Replies: 6
Views: 1554

How?
by PB&J Lover
Thu Oct 19, 2006 3:32 am
Forum: General Discussion
Topic: USB install
Replies: 6
Views: 1554

USB install

Can PB be installed on a USB drive so I can take it with me to work or school?

This is more of a trend now.
by PB&J Lover
Sun Aug 27, 2006 4:20 am
Forum: Windows
Topic: Windows registry problem
Replies: 5
Views: 2700

Can you be more specific? I know nothing about working with the registry.

Thanks. 8)
by PB&J Lover
Fri Aug 25, 2006 8:05 pm
Forum: Windows
Topic: Windows registry problem
Replies: 5
Views: 2700

Windows registry problem

I have a problem with my ME registry. If a program queries the environment variables for the Documents Folder it returns this value:
DocumentsFolder: ::{450D8FBA-AD25-11D0-98A8-0800361B1103}

How does one repair this? That value is a CLSID. I'm not sure why it would return that instead of the My ...
by PB&J Lover
Sun Aug 20, 2006 6:35 am
Forum: Linux
Topic: Which is the best distro of Linux?
Replies: 54
Views: 16591

I'm now trying Kubuntu, which is KDE. I like it. Perhaps it is a good place to start. I took a test online and they came up with 4 I should try.

Xandros was too resource heavy (according to them) and was not a good choice for a laptop.

Their other choices:

Madriva
Ubuntu
OpenSuse

Will Kubuntu ...
by PB&J Lover
Sat Aug 19, 2006 7:34 am
Forum: Linux
Topic: Which is the best distro of Linux?
Replies: 54
Views: 16591

I like Ubuntu. It loads quicker than Freespire. It was hard to get PureBasic running with it and I'm not sure all the libraries are loaded. I think now that it is out and more free versions that you can try first on CD will make Linux more popular. I've been waiting to install a viable Linux when I ...
by PB&J Lover
Wed Aug 16, 2006 3:09 pm
Forum: Linux
Topic: Which is the best distro of Linux?
Replies: 54
Views: 16591

Ubuntu? Is that because it is GNOME? It seems KDE has more settings available for the system.
by PB&J Lover
Wed Aug 16, 2006 2:06 pm
Forum: Linux
Topic: Which is the best distro of Linux?
Replies: 54
Views: 16591

Which is the best distro of Linux?

I don't want to start anything, but I've been looking over the distros of Linux for my ME latptop (to give it new life). It is still in good shape but won't do much since ME is out of date.

I installed Ubuntu on it and it works great (even recognized and signed onto the wireless net over the ...
by PB&J Lover
Wed Aug 16, 2006 1:58 pm
Forum: Linux
Topic: Installing for Dummies
Replies: 14
Views: 5618

Thanks. It finally is running. Can't wait for PB4 in Linux.

With these new distros I think the demand for PB in Linux will go up. I've been waiting since Linux came out for a distrobution that I could just load without having to go on a driver hunt. This is my first time loading Linux on a Windows ...