User bio
404 bio not found
Member since Feb 24, 2016
Replies:

The code you supplied above doesn't compile correctly in Studio, so it looks like you can't read directly to a property of an object directly.  In your case, I would try something like this:

Set Name=##class(Example.Team1).%New()
read "Enter your name: ",nameinput
set Name.Name = nameinput
set status = Name.%Save()

There may be other ways of getting input into an object property, but this is one of the easiest.

I'm not sure exactly what you're asking here;  if there are more specific questions, please let us know.

Have you reviewed the Cache Programming Orientation Guide available in our documentation?  It's quite useful, and the "Basic Ideas in Class Programming" section seems like it would cover what you're asking about:

http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...

Followers:
Following:
Stephen has not followed anybody yet.
Global Masters badges:
Stephen has no Global Masters badges yet.