Hey Pankaj,
Pankaj a écrit :
> Is it like this --> num = $F('refid');
No, it's like this:
if (!num)
num = $F('refid');
So it leaves your num untouched if it was passed. If it wasn't, the num
=== undefined, hence !num, hence you'll use $F('refid').
Better?
--
Christophe Porteneuve aka TDD
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---