leo/examples/message/inputs/message.in
Pranav Gaddamadugu 99ec270f8a Rename examples
2022-09-30 10:37:29 -07:00

8 lines
289 B
Plaintext

// The program input for message/src/main.leo
// To pass "m" into the "main" function we
// 1. Define the "Message" type.
// 2. Use brackets `{ }` to enclose the struct members.
// 3. Define each struct member `name : value`.
[main]
m: Message = Message { first: 2field, second: 3field };