joshua Hong

simple question~!

Discussion created by joshua Hong on Nov 17, 2010
Latest reply on Nov 17, 2010 by Tom Sheckells

hi~!

 

Does anyone know why the following SRL causes compile error..??

I just don't understand what's wrong with 'with' in the SRL... 

 

the error message : 'syntax error'

 

-------------------------------------------------------------------------------------------------

a student is an object with {
 a name : a string,
 an age : an integer,
 a  weight : a real
}
initially
{
  name  = "BK",
  age = 18,
  weight = 71.8
}

Outcomes