pilib Forum Index pilib
pilib forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

French Documentation

 
Post new topic   Reply to topic    pilib Forum Index -> This Forum and the wiki
View previous topic :: View next topic  
Author Message
moomba
pilib user


Joined: 21 Feb 2007
Posts: 35
Location: FRANCE

PostPosted: 23.05.2007, 12:24    Post subject: French Documentation Reply with quote

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. Very Happy

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
View user's profile Send private message
ziggy76
pilib user


Joined: 11 Jan 2007
Posts: 13
Location: Rouen (FRANCE)

PostPosted: 23.05.2007, 15:22    Post subject: Reply with quote

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
View user's profile Send private message
moomba
pilib user


Joined: 21 Feb 2007
Posts: 35
Location: FRANCE

PostPosted: 23.05.2007, 16:49    Post subject: Reply with quote

Thanks a lot ziggy76 Very Happy
I will change all my programs quickly. Wink
Back to top
View user's profile Send private message
mhier
Site Admin


Joined: 07 Jan 2007
Posts: 106
Location: Germany

PostPosted: 24.05.2007, 09:44    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    pilib Forum Index -> This Forum and the wiki All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
SourceForge.net Logo