Code: Select all
GFAddButton(gump, x, y, w, l, btn_type:=GF_PAGE_BTN, 4);Code: Select all
GFAddButton(gump, x, y, w, l, GF_PAGE_BTN, 4);Code: Select all
GFAddButton(gump, x, y, w, l, btn_type:=GF_PAGE_BTN, 4);Code: Select all
GFAddButton(gump, x, y, w, l, GF_PAGE_BTN, 4);Code: Select all
SOME_CONST := 1;
function Foo(arg:=SOME_CONST)
return arg;
endfunction
// this will return 1
Foo()
// this will return 2
Foo(2)Code: Select all
GFAddButton(gump, x, y, w, l, GF_PAGE_BTN, 4);Code: Select all
GFAddButton(gump, x, y, w, l, btn_type:=GF_PAGE_BTN, btn_value:=4);Code: Select all
GFAddButton(gump, x, y, w, l, btn_type:=GF_PAGE_BTN, 4);Code: Select all
use uo;
program Testing(who)
var huh := "hi";
Hello(what := huh, char:=who);
endprogram
function Hello(char, what)
SendSysMessage(char, what);
endfunction
Code: Select all
use uo;
program Testing(who)
var huh := "hi";
Hello(things := 1, char:=who);
endprogram
function Hello(char, what := "hi", things := 0)
if (things)
SendSysMessage(char, what);
endif
endfunction