@python2.4 -x %0 & GOTO EXIT
# -*- coding: cp1251 -*-
print("Превед!!!");
"""
:EXIT
@rem """
Ha... if I would live on Linux only I'd never know about it. UTF-8, after all.
Doing things exactly the right way
@python2.4 -x %0 & GOTO EXIT
# -*- coding: cp1251 -*-
print("Превед!!!");
"""
:EXIT
@rem """
python2.4 -x %0 & GOTO EXIT
print("Hello, from python!");
"""
:EXIT
@rem """
class MemoryLeak {
static int[] buffer = new int[0];
public static void reinitialise(int maxsize) {
if(buffer.length < maxsize)
buffer = new int[maxsize];
}
}
public static void reinitialise(int maxsize) {
if(buffer.length < maxsize) {
int tmpbuf[] = new int[maxsize];
buffer = tmpbuf;
}
combo.SetRedraw(FALSE);
//Blah-blah-blah
combo.SetWindowText("something not in list");
combo.SetRedraw(TRUE);
combo.SetRedraw(FALSE);
//Blah-blah-blah
combo.SetRedraw(TRUE);
combo.SetWindowText("something not in list");
<html>
<head>
<script>
function go(form) {
var url = form.url.value;
if(url.substring(0,7) != "http://")
url="http://"+url;
window.location = "http://www.google.com/gwt/n?u="+url;
}
</script>
</head>
<body style="text-align:center">
<form>
<input name="url" type="text"/>
<input type="button" value="go" onclick="go(this.form)"/>
</form>
</body>
</html>