Function PxMRead($) dim $h open (1, $) do for each $ in split(join(split(split(READLINE(1),#)[0], ))) if $ $h=$h+" "+$ endif next until @error close(1) PxMDisplay(split($h)) EndFunction
Function PxMDisplay($) dim $a, $f, $w, $h, $y, $z $a = CreateObject(Kixtart.Form) ;$a.ClientSize = $[2],$[3] ; Use this line for properly sized forms $a.Size = 700,700 ;Comment out if using ClientSize above $a.Show $y = 5 $f = 255/$[4] if $[1]=P1 $y = 4 $f = 255 endif $z = $[1]=P3 for $h=1 to $[3] for $w=1 to $[2] $a.PSet($w, $h, $f*(65536*$[$y+2*$z]+256*$[$y+$z]+$[$y])) $y = 1 + $y + 2*$z next next sleep 10 ;Uncomment the lines below to keep the form on the screen ;until closed manually. ;While $a.Visible ; $y=Execute($a.DoEvents) ;Loop EndFunction
Generated in 0.071 seconds in which 0.03 seconds were spent on a total of 13 queries. Zlib compression enabled.
") !=-1) { tempah=tempah.substring(tempah.indexOf("")+5,tempah.indexOf("")); codes[i].innerHTML="" + dotag(tempah.substring()) + ""; } } //var pres = document.getElementsByTagName("pre"); //for (var i=0, maxi = pres.length; i < maxi; i++) { // var tempah = pres[i].innerHTML; // if (tempah.indexOf("[postprep") !=-1) { // tempah=tempah.substring((tempah.indexOf("]",tempah.indexOf("[postprep"))+1)); // pres[i].innerHTML=dotag(tempah); // } //} function ytag(which_one) { var codes = document.getElementsByClassName("ubbcode-body"); var thisone = codes[which_one].innerHTML; codes[which_one].innerHTML = "" + dotag(thisone.substring(5+thisone.indexOf(""),thisone.indexOf(""))) + ""; var heads = document.getElementsByClassName("ubbcode-header"); heads[which_one].innerHTML = "Code:" + ' '; } function ttag(which_one) { var codes = document.getElementsByClassName("ubbcode-body"); var thisone = ""; if (codes[which_one].innerText != undefined) { thisone += codes[which_one].innerText; } else { thisone += codes[which_one].textContent; } codes[which_one].innerHTML = thisone + ""; var heads = document.getElementsByClassName("ubbcode-header"); heads[which_one].innerHTML = "Code:" + ' '; }
")+5,tempah.indexOf("
" + dotag(tempah.substring()) + "
" + dotag(thisone.substring(5+thisone.indexOf(""),thisone.indexOf(""))) + "
"),thisone.indexOf("
"; if (codes[which_one].innerText != undefined) { thisone += codes[which_one].innerText; } else { thisone += codes[which_one].textContent; } codes[which_one].innerHTML = thisone + "