generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: JAVASCRIPT IS BETTER THAN LUA!1!!11

Previous Thread :: Next Thread 
AIluhAkbar is not online. AIluhAkbar
Joined: 01 Mar 2015
Total Posts: 69
26 Mar 2015 05:54 PM
KIDDIES YOU NEED TO LEARN A REAL LANGUAGE LIKE ENGLISH OR JAVASCRIPT, NOT THIS WANNABE LANGUAGE OF LUA!

HAVE A LOOK AT HOW THE MASTERS DO IT!

function pasteHTML() {

var dataPackageView = Windows.ApplicationModel.DataTransfer.Clipboard.getContent();

if (dataPackageView.contains(Windows.ApplicationModel.DataTransfer.StandardDataFormats.html)) {

// Get the HTML Format (CF_HTML) from DataPackageView.
dataPackageView.getHtmlFormatAsync().done(function (htmlFormat) {

// Extract the HTML fragment.
var htmlFragment =
Windows.ApplicationModel.DataTransfer.HtmlFormatHelper.getStaticFragment(htmlFormat);

// Add the fragment to the DOM.
document.getElementById("htmlOutput").innerHTML = htmlFragment;

// Replace local image file URLs, if any, with the contents of the resourceMap.
var images = document.getElementById("htmlOutput").getElementsByTagName("img");

// Check first if there are any images (img tags) in the fragment, because
// calling the getResourceMapAsync method can be resource intensive.
if (images.length > 0) {
dataPackageView.getResourceMapAsync().done(function (resourceMap) {

// Check whether the resourceMap contains any items.
if (resourceMap.size > 0) {
for (var i = 0, len = images.length; i < len; i++) {
var imageElement = images[i];

// Look up RandomAccessStreamReference value corresponding to this
// image's SRC property.
var streamRef = resourceMap.lookup(imageElement.getAttribute("src"));
if (streamRef) {
// Generate blob URL, and replace contents of the SRC property.
replaceSrcURL(imageElement, streamRef);
}
}
}
});

}

}, function (e) {
displayError("Error retrieving HTML format from Clipboard: " + e);
});
} else {
document.getElementById("scenario1HtmlOutput").innerText =
"HTML format is not available in clipboard";
}
}

function replaceSrcURL(imageElement, streamRef) {
// Map the image element's src to a corresponding blob URL generated from the streamReference.
streamRef.openReadAsync().done(function (imageStream) {
var blobObject =
window.MSApp.createBlobFromRandomAccessStream(imageStream.contentType, imageStream);
var blobUrl = window.URL.createObjectURL(blobObject, { oneTimeOnly: true });
imageElement.src = blobUrl;
}, function (e) {
displayError("Error opening stream corresponding to the image element with SRC=\"" +
imageElement.getAttribute("src") + "\". Error: " + e);
});
}
Report Abuse
tecno15 is not online. tecno15
Joined: 10 Sep 2009
Total Posts: 1372
26 Mar 2015 05:55 PM
the war shall go on, march, my lua friends
Report Abuse
NotAshley is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
26 Mar 2015 05:56 PM
Java is better.
Report Abuse
FUNNYGAMES9 is not online. FUNNYGAMES9
Joined: 10 Sep 2011
Total Posts: 336
26 Mar 2015 05:56 PM
why are you naked
Report Abuse
Funse is not online. Funse
Joined: 11 Jun 2012
Total Posts: 7887
26 Mar 2015 05:57 PM
pascal
:c
Report Abuse
IIIIIIlII is not online. IIIIIIlII
Joined: 06 Jan 2011
Total Posts: 710
26 Mar 2015 05:58 PM
lol coding java for food, ain't nobody got time for clothas
Report Abuse
Eternalfireeater is not online. Eternalfireeater
Joined: 01 May 2011
Total Posts: 10027
26 Mar 2015 05:58 PM
JS is meh.
Report Abuse
AIluhAkbar is not online. AIluhAkbar
Joined: 01 Mar 2015
Total Posts: 69
26 Mar 2015 05:59 PM
JavaScript is love, javascript is life!!
Report Abuse
NotAshley is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
26 Mar 2015 05:59 PM
class gtfo{
public static void main(String[] args){
String gtfo = "gtfo";
while(true){
System.out.println("gtfo");
gtfo += " gtfo";
}
}
{
Report Abuse
vat21s is not online. vat21s
Joined: 07 Jun 2010
Total Posts: 2508
26 Mar 2015 06:00 PM
Lua is good for calculations thats about it, You can't beat those awesome classes in Java e.e

and yes LUA sucks but Lua is alright.
Report Abuse
NotAshley is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
26 Mar 2015 06:00 PM
...how the hell did I mess up that bracket
Report Abuse
AIluhAkbar is not online. AIluhAkbar
Joined: 01 Mar 2015
Total Posts: 69
26 Mar 2015 06:01 PM
^ Was just about to say...

"gtfo += " gtfo";"???
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 Mar 2015 06:01 PM
Plagiarism is fun. Not really. It's just lame.
If you can't come up with your own code, your argument is invalid.
Report Abuse
AIluhAkbar is not online. AIluhAkbar
Joined: 01 Mar 2015
Total Posts: 69
26 Mar 2015 06:02 PM
YOU CANT HANDLE THE POWA!
Report Abuse
SummerEquinox is not online. SummerEquinox
Joined: 25 Jun 2013
Total Posts: 2088
26 Mar 2015 06:06 PM
WAIT...
WTH IS THAT A T-SHIRT I MADE????
Report Abuse
anaIyze is not online. anaIyze
Joined: 29 May 2014
Total Posts: 2048
26 Mar 2015 06:07 PM
Lol script kiddie ^ Bahahah
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
26 Mar 2015 06:07 PM
OP you're stupid.
Lua and Javascript can't be compared, considering they are usually (almost always) used for different purposes. It's like comparing C with PHP, you don't.
Report Abuse
NotAshley is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
26 Mar 2015 06:07 PM
>"gtfo += " gtfo";"???

'value1 += value2' is the equivalent of 'value1 = value1 + value2'

In the case of strings, it concatenates them. I think you lose.
Report Abuse
SummerEquinox is not online. SummerEquinox
Joined: 25 Jun 2013
Total Posts: 2088
26 Mar 2015 06:08 PM
@anaize
how am I a script kitty?
Report Abuse
NotAshley is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
26 Mar 2015 06:09 PM
^ I think you ninja'd him and he meant OP
Report Abuse
SummerEquinox is not online. SummerEquinox
Joined: 25 Jun 2013
Total Posts: 2088
26 Mar 2015 06:10 PM
@not
ah, okay

still surprised that this wannabe is wearing one of
my t-shirts -.-
Report Abuse
kert109 is not online. kert109
Joined: 31 Dec 2009
Total Posts: 681
26 Mar 2015 06:23 PM
I feel OP copied and pasted.

And I think someone is getting Java and JavaScript confused..



Btw, don't compare javascript and lua. As that other guy said, it's like comparing php and C++.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 Mar 2015 06:57 PM
I already said the OP copied and pasted.
Report Abuse
theninjaguy987 is not online. theninjaguy987
Joined: 21 Jun 2013
Total Posts: 766
26 Mar 2015 07:34 PM
Just wanna add that that was probably copied and pasted. Someone with a high enough IQ to understand and learn java wouldn't be as stupid to troll here like that. xd
Report Abuse
anaIyze is not online. anaIyze
Joined: 29 May 2014
Total Posts: 2048
27 Mar 2015 01:08 PM
http://www.getcodesamples.com/src/53EDC212/55DB6D0B


Dumbass skid LOl
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image