File: dynamic2.mlx

package info (click to toggle)
camlmix 1.3.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: ml: 496; makefile: 89
file content (12 lines) | stat: -rw-r--r-- 248 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
##
open Printf
let firstname, lastname, age = param
.##
Parameters are: ## 
List.iter (fun s -> print s; print " ") 
  [ firstname; lastname; string_of_int age ] 
##

First name: ##=firstname##
Last name: ##=lastname##
Age: ##= string_of_int age##