this is a image
(define double (lambda (x) (+ x x)))
(double 12) ; return 24
(double (* 3 4)) ; return 24
(define x 3)
(begin
(set! x (+ x 1))
(+ x x)) ; 返回结果 8
(define (abss n)
(if (< n 0)
(- 0 n)
n))
(abss -12)
;sss
(define double (lambda (x) (+ x x)))
(double 12) ; return 24
(double (* 3 4)) ; return 24
(define x 3)
(begin
(set! x (+ x 1))
(+ x x)) ; 返回结果 8
(define (abss n)
(if (< n 0)
(- 0 n)
n))
(abss -12)
;sss
public class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello World!");
}
}
<?php
// change the following paths if necessary
$yii=dirname(__FILE__).'/../yii/framework/yii.php';
$config=dirname(__FILE__).'/protected/config/main.php';
// remove the following lines when in production mode
define('YII_DEBUG',true);
// defined('YII_DEBUG') or define('YII_DEBUG',true);
// specify how many levels of call stack should be shown in each log message
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
require_once($yii);
Yii::createWebApplication($config)->run();