[Gambas-user] datatype for time_t of C for external function

vuott at tiscali.it vuott at tiscali.it
Sun Jun 17 19:20:23 CEST 2018


  
I want add this link: 

https://stackoverflow.com/questions/471248/what-is-ultimately-a-time-t-typedef-to


Il 17.06.2018 19:17 vuott at tiscali.it ha scritto: 

> Hello, 
>
...from /usr/include/postgresql/9.5/server/utils/nabstime.h 
> "
Although time_t generally is a long int on 64 bit systems " 
> So, I say
in Gambas it's a "Long". 
> bye 
> vuott 
> 
> Il 17.06.2018 15:31
Demosthenes Koptsis ha scritto: 
> 
>> Hello,
>> 
>> i read about time_t
datatype 
>> https://en.wikibooks.org/wiki/C_Programming/time.h/time_t
[1] and i have a 
>> question about which datatype is the best of gambas
language.
>> 
>> in c program the sizeof(time_t) gives me 8 bytes.
>>

>> So which gambas datatype is better, FLOAT or DATE ?
>> 
>>
Thanks!
>> 
>> ----[ Gambas mailing-list is hosted by
https://www.hostsharing.net [2] ]----
> 
> Con Mobile Open 6 GB hai 6
Giga, 600 minuti e 300 SMS per il tuo smartphone a 9EUR al mese per
sempre. Passa ora a Tiscali Mobile, il nostro mese è vero!
http://tisca.li/Open6GB0318 [3]
  


Con Mobile Open 6 GB hai 6 Giga, 600 minuti e 300 SMS per il tuo smartphone a 9€ al mese per sempre. Passa ora a Tiscali Mobile, il nostro mese è vero! http://tisca.li/Open6GB0318

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180617/972e3319/attachment.html>


More information about the User mailing list