Exploring Data Types in ObjectScript
Get an introduction to data types in InterSystems ObjectScript, and see how to use three common data types: strings, lists, and objects.
Get an introduction to data types in InterSystems ObjectScript, and see how to use three common data types: strings, lists, and objects.
Reference | Timestamp | Code |
---|---|---|
Create a list | 3:15 | $LISTBUILD("Peter","Harry","Mary Jane") |
Display a list | 3:22 | Zwrite friends |
Update the first item in a list | 3:25 | Set $LIST(friends,1)= "Max" |
Assign an object reference to a variable | 4:10 | Set Human = ##class(Sample.Person).%New() |
Set a property of an object | 4:30 | Set Human.Name="Maria" |
View general information and attribute values of an object reference | 4:41 | Zwrite Human |
Having an issue with the learning site? Want to provide feedback on a course? Contact us by emailing online.training@intersystems.com.
Please include all relevant information, including the page or course you are having trouble with, and any necessary screenshots.