AnsweredAssumed Answered

Variable Type Casts ?

Question asked by gdurniak on Feb 10, 2012
Latest reply on Feb 11, 2012 by BruceHerbach

I set $Year = 2012 ( in various ways, in various places )

 

Then check If $Year > 0, and it fails

 

I then try GetasNumber ( $Year ) > 0, and it works

 

 

It appears that $Year end up as Text.

 

Are the rules for Variable Type Casting documented anywhere?

 

Did this change at all in FileMaker 11?

 

The script in question worked in FileMaker 9

 

Thanks,

greg

Outcomes