> Le 17 août 2016 à 08:34, Kirk Brooks <[email protected]> a écrit :
> 
> Yeah, if you don't specify the return type it comes back as text - usually,
> ie.
> 
> C_OBJECT($object)
> C_DATE($date)
> C_TEXT($key;$dateStr)
> 
> $key:="current_date"
> 
> OB SET($object;$key;Current date(*))
> $dateStr:=OB Get($object;$key)
> $date:=OB Get($object;$key;Is date)


4D returns a type based on the type of $date


Bertrand SOUBEYRAND
---
La Soub Compagnie
33 bd de la Liberté - 13001 Marseille
Bureau : +33 4 84 25 21 99
http://www.soubeyrand-4d-developer.eu <http://www.soubeyrand-4d-developer.eu/>

Belgique : +32 87 84 00 88




**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to