SlideShare une entreprise Scribd logo
1  sur  30
Télécharger pour lire hors ligne
Variables
Input Parameter
Output Parameter
Local Variable
Structures
Lists
Variables are locations in memory that can hold
data
Variables
Hold data of a particular data type
●
Can be any data type
●
2
Variables are defined and exist in a particular
scope
Variables
Variables are locations in memory that can hold
data
Hold data of a particular data type
●
Can be any data type
●
Values can be accessed and modified in that scope
●
If execution leaves that scope, the variable is
destroyed
●
3
Variables can be...
4
Variables can be...
5
Variables can be...
6
Variables can be...
7
Variables can be...
8
Variables can be...
9
Passes a value from the outside scope
Input Parameter
10
Can be set as Mandatory
Input Parameter
Passes a value from the outside scope
Requires that the parameter must have
a value assigned to it
●
11
The variable is destroyed when execution
leaves the scope of the parent element
Input Parameter
Passes a value from the outside scope
Can be set as Mandatory
Requires that the parameter must have
a value assigned to it
●
12
Returns a value to the outside scope
Output Parameter
13
A value should be assigned to the Output
Parameter inside its scope
The variable continues to exist in the
outside scope even after its parent
element's scope is gone
Output Parameter
Returns a value to the outside scope
14
The variable continues to exist in the
outside scope even after its parent
element's scope is gone
Output Parameter
Returns a value to the outside scope
A value should be assigned to the Output
Parameter inside its scope
15
Exists exclusively within the scope of its
element
Local Variable
16
Can be assigned and used "locally" inside
that scope
Local Variable
Exists exclusively within the scope of its
element
17
The variable is destroyed when execution
leaves the scope of the parent element
Local Variable
Exists exclusively within the scope of its
element
Can be assigned and used "locally" inside
that scope
18
OutSystems language is Strongly Typed
OutSystems Data Types
Every variable must declare its data type
●
That data type can not change
●
19
OutSystems supports:
OutSystems Data Types
OutSystems language is Strongly Typed
Every variable must declare its data type
●
That data type can not change
●
Basic Types
●
Compound Types
●
Lists
●
20
OutSystems supports:
OutSystems Data Types
OutSystems language is Strongly Typed
Every variable must declare its data type
●
That data type can not change
●
Basic Types: Integer, Text, Date, ...
●
Compound Types: Entities, Structures
●
Lists
●
21
OutSystems supports:
OutSystems Data Types
OutSystems language is Strongly Typed
Every variable must declare its data type
●
That data type can not change
●
Basic Types: Integer, Text, Date, ...
●
Compound Types: Entities, Structures
●
Lists
●
22
OutSystems supports:
OutSystems Data Types
OutSystems language is Strongly Typed
Every variable must declare its data type
●
That data type can not change
●
Basic Types: Integer, Text, Date, ...
●
Compound Types: Entities, Structures
●
Lists
●
23
Structures are custom compound data types
Structures
Defined by attributes of any data type
●
Including other Structures, Entities and Lists
●
Collection of other simple and compound data types
that are grouped together
●
24
Used to store compound data in memory
Structures
Structures are custom compound data types
Defined by attributes of any data type
●
Including other Structures, Entities and Lists
●
Collection of other simple and compound data types
that are grouped together
●
A Structure is the definition of a data type
●
The Structure itself does not hold any value
●
Structures are not variables
○
25
Add Structure
Creating Structures
Set its Name
●
Can be public
●
26
Add Structure Attributes
Creating Structures
Add Structure
Set its Name
●
Can be public
●
Set their Names and Data Types
●
Can be mandatory
●
Can have a default value
●
27
A List is a collection of elements of the same data
type (e.g. List of Integers)
Lists
28
Elements of OutSystems Lists can be:
Lists
A List is a collection of elements of the same data
type (e.g. List of Integers)
Basic types (e.g. Integer)
●
Compound types (e.g. Entities or Structures)
●
A union record between different types
●
e.g. Integer + Text
○
e.g. Booking + GuestName
○
29
Lists can be defined in the Data Type Editor
Lists
A List is a collection of elements of the same data
type (e.g. List of Integers)
Elements of OutSystems Lists can be:
Basic types (e.g. Integer)
●
Compound types (e.g. Entities or Structures)
●
A union record between different types
●
e.g. Integer + Text
○
e.g. Booking + GuestName
○
30

Contenu connexe

Dernier

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Dernier (20)

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Variables.pdf

  • 2. Variables are locations in memory that can hold data Variables Hold data of a particular data type ● Can be any data type ● 2
  • 3. Variables are defined and exist in a particular scope Variables Variables are locations in memory that can hold data Hold data of a particular data type ● Can be any data type ● Values can be accessed and modified in that scope ● If execution leaves that scope, the variable is destroyed ● 3
  • 10. Passes a value from the outside scope Input Parameter 10
  • 11. Can be set as Mandatory Input Parameter Passes a value from the outside scope Requires that the parameter must have a value assigned to it ● 11
  • 12. The variable is destroyed when execution leaves the scope of the parent element Input Parameter Passes a value from the outside scope Can be set as Mandatory Requires that the parameter must have a value assigned to it ● 12
  • 13. Returns a value to the outside scope Output Parameter 13
  • 14. A value should be assigned to the Output Parameter inside its scope The variable continues to exist in the outside scope even after its parent element's scope is gone Output Parameter Returns a value to the outside scope 14
  • 15. The variable continues to exist in the outside scope even after its parent element's scope is gone Output Parameter Returns a value to the outside scope A value should be assigned to the Output Parameter inside its scope 15
  • 16. Exists exclusively within the scope of its element Local Variable 16
  • 17. Can be assigned and used "locally" inside that scope Local Variable Exists exclusively within the scope of its element 17
  • 18. The variable is destroyed when execution leaves the scope of the parent element Local Variable Exists exclusively within the scope of its element Can be assigned and used "locally" inside that scope 18
  • 19. OutSystems language is Strongly Typed OutSystems Data Types Every variable must declare its data type ● That data type can not change ● 19
  • 20. OutSystems supports: OutSystems Data Types OutSystems language is Strongly Typed Every variable must declare its data type ● That data type can not change ● Basic Types ● Compound Types ● Lists ● 20
  • 21. OutSystems supports: OutSystems Data Types OutSystems language is Strongly Typed Every variable must declare its data type ● That data type can not change ● Basic Types: Integer, Text, Date, ... ● Compound Types: Entities, Structures ● Lists ● 21
  • 22. OutSystems supports: OutSystems Data Types OutSystems language is Strongly Typed Every variable must declare its data type ● That data type can not change ● Basic Types: Integer, Text, Date, ... ● Compound Types: Entities, Structures ● Lists ● 22
  • 23. OutSystems supports: OutSystems Data Types OutSystems language is Strongly Typed Every variable must declare its data type ● That data type can not change ● Basic Types: Integer, Text, Date, ... ● Compound Types: Entities, Structures ● Lists ● 23
  • 24. Structures are custom compound data types Structures Defined by attributes of any data type ● Including other Structures, Entities and Lists ● Collection of other simple and compound data types that are grouped together ● 24
  • 25. Used to store compound data in memory Structures Structures are custom compound data types Defined by attributes of any data type ● Including other Structures, Entities and Lists ● Collection of other simple and compound data types that are grouped together ● A Structure is the definition of a data type ● The Structure itself does not hold any value ● Structures are not variables ○ 25
  • 26. Add Structure Creating Structures Set its Name ● Can be public ● 26
  • 27. Add Structure Attributes Creating Structures Add Structure Set its Name ● Can be public ● Set their Names and Data Types ● Can be mandatory ● Can have a default value ● 27
  • 28. A List is a collection of elements of the same data type (e.g. List of Integers) Lists 28
  • 29. Elements of OutSystems Lists can be: Lists A List is a collection of elements of the same data type (e.g. List of Integers) Basic types (e.g. Integer) ● Compound types (e.g. Entities or Structures) ● A union record between different types ● e.g. Integer + Text ○ e.g. Booking + GuestName ○ 29
  • 30. Lists can be defined in the Data Type Editor Lists A List is a collection of elements of the same data type (e.g. List of Integers) Elements of OutSystems Lists can be: Basic types (e.g. Integer) ● Compound types (e.g. Entities or Structures) ● A union record between different types ● e.g. Integer + Text ○ e.g. Booking + GuestName ○ 30