24 lines
587 B
Markdown
24 lines
587 B
Markdown
---
|
|
layout: page
|
|
published: true
|
|
noToc: false
|
|
noComments: false
|
|
noDate: false
|
|
title: Fun - class_constructor.fun — overview
|
|
subtitle: Documentation for class_constructor.fun — overview
|
|
description: Documentation for class_constructor.fun — overview
|
|
permalink: /documentation/examples/class_constructor/
|
|
lang: en
|
|
tags:
|
|
- class_constructor
|
|
- example
|
|
---
|
|
|
|
|
|
What it shows
|
|
- Class basics and constructor behavior; initializing fields and using methods.
|
|
|
|
How to run
|
|
- export FUN_LIB_DIR="./lib"
|
|
- ./build_debug/fun examples/class_constructor.fun
|
|
- Or: fun examples/class_constructor.fun
|