| View previous topic :: View next topic |
| Author |
Message |
moomba pilib user
Joined: 21 Feb 2007 Posts: 35 Location: FRANCE
|
Posted: 23.05.2007, 12:24 Post subject: French Documentation |
|
|
Hi. The French documentation is now finish. It just miss the part with editing "labels", but it wait the implementation of gksetstring for gktext, and i don't know how to manage reals 64 like for integers.
I mean i put integer(kind=kptr), but for reals, is it reals(kind=8 ) ? I am sure not, but i don't know what to do.
This documentation is in theory optimised for 800x600, 1024x768, and 1280x1024 resolutions.
MsgBox section is also now finished.
I hope it suits you.
Moomba
Last edited by moomba on 23.05.2007, 16:55; edited 1 time in total |
|
| Back to top |
|
 |
ziggy76 pilib user
Joined: 11 Jan 2007 Posts: 13 Location: Rouen (FRANCE)
|
Posted: 23.05.2007, 15:22 Post subject: |
|
|
The constants defining the types are in the file 'types.ins' which is automatically included by pimod.
We have kfloat=4 and kdouble=8, so you can use
REAL (KIND=kdouble) _________________ Pilib 0.3 (CVS) - PC with Windows XP Pro
MinGW + MSYS - Fortran compiler g95 |
|
| Back to top |
|
 |
moomba pilib user
Joined: 21 Feb 2007 Posts: 35 Location: FRANCE
|
Posted: 23.05.2007, 16:49 Post subject: |
|
|
Thanks a lot ziggy76
I will change all my programs quickly.  |
|
| Back to top |
|
 |
mhier Site Admin
Joined: 07 Jan 2007 Posts: 106 Location: Germany
|
Posted: 24.05.2007, 09:44 Post subject: |
|
|
kdouble matches always the C type double, as kint matches int. The exact values of the constants may even vary from compiler to compiler, so it's always a bad idea to hard code the values. If you use variables only for calculations (and don't pass them to pilib), it may be better to use Fortran's intrinsic functions like SELECTED_REAL_KIND to obtain the correct kind value. _________________ pilib mostly on gentoo linux (32 and 64 bits) |
|
| Back to top |
|
 |
|