1
0
Fork 0
forked from fun/fun
fun/web/documentation/examples/objects_basic.md

35 lines
673 B
Markdown

---
layout: page
published: true
noToc: true
noComments: false
noDate: false
title: Fun - objects_basic.fun — overview
subtitle: Documentation for objects_basic.fun — overview
description: Documentation for objects_basic.fun — overview
permalink: /documentation/examples/objects_basic/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
---
# objects_basic.fun — overview
What it shows
- OO basics: defining objects, fields, and invoking methods.
How to run
- export FUN_LIB_DIR="./lib"
- ./build_debug/fun examples/objects_basic.fun
- Or: fun examples/objects_basic.fun