Weird RunRev IDE Problem

Eric Chatonet eric.chatonet at sosmartsoftware.com
Thu Jan 17 10:41:23 EST 2008


It works but why would you prefer the most complicated when the  
simpler is available?
BTW I avoid to use 'it' every time it appears possible and prefer to  
declare a variable of my own: 'it' can be changed by some commands  
along a handler and this is able to put a mess :-)

Le 17 janv. 08 à 16:24, Dave a écrit :

> On 17 Jan 2008, at 15:04, Eric Chatonet wrote:
>
>> From Convert docs:
>> If the dateAndTime is a container, the converted date and time is  
>> placed in the container, replacing the previous contents. If the  
>> dateAndTime is a string, the converted date and time is placed in  
>> the it variable.
>> So in your case, returned value is not in 'it' but in 'myFieldValue'
>
> Opps! Missed that bit! What happens if you use 0 + myFieldValue?????
>
> (which is how I got around the problem)
>
> All the Best
> Dave

Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list