📄 no.106.prelude
字号:
# Monet Mil to Mal compiler# Copyright (c) 2001-2004, CWI. All rights reserved.# Predefined code segment#The compiler can not guarantee an accurate compilation,#because MIL unlike MAL is a dynamically typed language.#A few guidelines to maximize usefullness.#- make the type of variables explicit, in particular 'nil'#- upon advice of M2m to remap identifiers, change it in your program directly#setoid(oid(10000000)); aa_a := oid(10000000); ba_a := setoid(aa_a);#var w := new( oid, str ); w := new(:oid,:str);#w.import( sprintf("%s/no.106.w.bat",getenv("TSTTRGDIR")) ); ca_a := getenv("TSTTRGDIR"); da_a := sprintf("%s/no.106.w.bat",ca_a); ea_a := import(w,da_a);#w.print(); fa_a := print(w,);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -