in transcript there is no difference between passing the data as 2 or "2"

depending on your code, transcript automatically typesets the data..
examples:

on mouseUp
  answer buildString(2)
  answer addNumbers("2")
end mouseUp

function buildString pInput
  return "Do you remember when you were" && pInput & "?"
end buildString

function addNumbers pInput
  return pInput + pInput
end addNumbers


i may be thinking of another language (perhaps PHP?) but i believe (and too
lazy to launch runrev/mc) that even passing the words "two" you can still do
numeric functions on it

on mouseUp
  answer addNumbers("two")
end mouseUp

you may want to check this one to be sure..

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to