Search found 594 matches

by Guimauve
Tue Nov 06, 2012 1:05 am
Forum: Announcement
Topic: PureBasic 5.00 final is out !
Replies: 57
Views: 18936

Re: PureBasic 5.00 final is out !

Great as always !

Best regards
Guimauve
by Guimauve
Sun Nov 04, 2012 4:33 pm
Forum: Coding Questions
Topic: Huge #'s
Replies: 81
Views: 33858

Re: Huge #'s

Hello everyone, OK this is the V2.0.0 using Linked List instead of static array. For the moment I have completed only few test and everything seem to work but feel free to push the much further. Have fun ! Best regards Guimauve ; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ; AUTOMATICALLY GENE...
by Guimauve
Sat Nov 03, 2012 11:31 pm
Forum: Coding Questions
Topic: Huge #'s
Replies: 81
Views: 33858

Re: Huge #'s

Hello everyone, The next modification, I will try to replace the Num static array by a linked list. The calculation will probably become little bit slower but the memory management will be better. Allocating a very large static array to overcome the fact that we don't know how many element it's good...
by Guimauve
Sat Nov 03, 2012 1:27 am
Forum: Coding Questions
Topic: Huge #'s
Replies: 81
Views: 33858

Re: Huge #'s

Hello everyone, OK Windows 7 X64 but with PureBasic x86 on virtual machine, I get the Stack overflow error. So now I can do something. Edit : I think I got it. Can some one try this code and tell me if the error is still happen : ; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ; AUTOMATICALLY GE...
by Guimauve
Fri Nov 02, 2012 1:44 pm
Forum: 3D Programming
Topic: CG dll can't be loaded in CgPlugin
Replies: 2
Views: 2074

Re: CG dll can't be loaded in CgPlugin

The package to install (with synaptic)

- nvidia-cg-toolkit
- libcg

Thanks Fred

Best regards
Guimauve
by Guimauve
Fri Nov 02, 2012 4:10 am
Forum: 3D Programming
Topic: CG dll can't be loaded in CgPlugin
Replies: 2
Views: 2074

CG dll can't be loaded in CgPlugin

Hello everyone, I would like to test this code created by Comtois (posted in the French forum) : IncludeFile "Screen3DRequester.pb" Enumeration #ThirdPersonChase #ThirdPersonFixed #TopView EndEnumeration #Nb = 100 #Size = 6 #PlayerSpeed = 0.1 Structure Vector3 x.f y.f z.f EndStructure Stru...
by Guimauve
Thu Nov 01, 2012 2:06 pm
Forum: Coding Questions
Topic: Huge #'s
Replies: 81
Views: 33858

Re: Huge #'s

Hello everyone, It's very strange because the difference between these codes can't justify why the original don't crash and my version crash. Furthermore, it work on Mac x64 and Linux x64 and not Windows 7 32 bits I will run my code on Window XP 32 Bits to figure what is going on. I hope the problem...
by Guimauve
Thu Nov 01, 2012 4:57 am
Forum: Coding Questions
Topic: Is it possible to create a structure at run time?
Replies: 3
Views: 609

Re: Is it possible to create a structure at run time?

Hello swhite, It's not exactly what you want to do but you can find some inspiration to study it : http://www.purebasic.fr/english/viewtopic.php?f=12&t=24688 It's an experimental code I have created 6 years ago to force Standard Linked list to hold different elements. http://pages.videotron.com/...
by Guimauve
Thu Nov 01, 2012 3:29 am
Forum: Coding Questions
Topic: Huge #'s
Replies: 81
Views: 33858

Re: Huge #'s

hello Guimauve I get a stack overflow at line 769 (Windows 7-32 PB 5 b8), but works OK on my Mac PB x64 Just be sure, it's on the "VogelsNumberFormat_Pow(Number, 100, Result.VogelsNumberFormat)" you get this error ? If so can you try this code and tell if the same error happen ? Best rega...
by Guimauve
Thu Nov 01, 2012 12:01 am
Forum: Coding Questions
Topic: Huge #'s
Replies: 81
Views: 33858

Re: Huge #'s

Hello everyone, Sorry to re-open a two years old topic but I have little bit modified the Micheal Vogel original code so I return it back to community. By the way, apparently the conversion from string to VogelNumberFormat work only if the program is compiled in Ascii mode. I get strange result with...
by Guimauve
Wed Oct 31, 2012 3:39 pm
Forum: Coding Questions
Topic: Write 1 Byte in mem
Replies: 15
Views: 1616

Re: Write 1 Byte in mem

@Infratec netmaestro code is correct ! In fact your code is correct too because it's possible to use MemorySize() to re-calculate the string length later. With the netmaestro code we can read bytes until we read 0 which is suitable for string manipulations. For just random byte value can contain a &...
by Guimauve
Tue Oct 30, 2012 11:58 pm
Forum: Applications - Feedback and Discussion
Topic: Next updatet
Replies: 16
Views: 5437

Re: Next updatet

Hello everyone, The problem about integrating a 128 Integer type can't be done with a single ASM instruction. In fact this is why we don't have an "Unsigned Long" and an "Unsigned Quad" type in PB. And many PB user will tell they are not needed and in most case I totally agree. B...
by Guimauve
Tue Oct 30, 2012 4:16 am
Forum: Coding Questions
Topic: Write 1 Byte in mem
Replies: 15
Views: 1616

Re: Write 1 Byte in mem

No ! The correct code : *mem = AllocateMemory(3*sizeof(Byte)) PokeB(*mem,Asc("H")) PokeB(*mem+1,Asc("i")) PokeB(*mem+2,0) Debug PeekS(*mem) Best regards Guimauve I don´t agree with you: You have to use SizeOf(character) in the first line of your code example. Sizeof(Byte) return...
by Guimauve
Mon Oct 29, 2012 2:59 am
Forum: Linux
Topic: Gnome Icon Theme for PB IDE
Replies: 4
Views: 1649

Re: Gnome Icon Theme for PB IDE

Nice job !!! :D

Best regards
Guimauve
by Guimauve
Fri Oct 26, 2012 2:10 pm
Forum: Applications - Feedback and Discussion
Topic: Next updatet
Replies: 16
Views: 5437

Re: Next updatet

Are you working for Fantaisie Software? First time I read your list I thought this list is official. Now I am not sure anymore. Are you making fun or is this list the future plan? Comtois is working for FS now, but I thought there was another guy. Is this you? 1st question : No, in fact I am unempl...