Register for your free account! | Forgot your password?

You last visited: Today at 23:42

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Java Scripts

Discussion on Java Scripts within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
Java Scripts

Also, nachdem ich mich mit AutoIT befasst hab wollte ich mich jetzt mal an was "richtiges" wagen, soll heißen meiner erste Programmiersprache und dabei ist meine Wahl auf Java gefallen

So und, da ich bei AutoIT gut mit diesem System vorangekommen binn wollt ich nun auch hier mal nach euren Java scripts fragen, ich denke so lernt man am besten die neuen Befehle und Eigenschaften einer Sprache (und das vor allem schön praxisbezigen )

Also ich freu mich über eure Beiträge
(und da mein Stand bei "Hello World!" liegt, freu ich mich auch über Anfänger Programme )

Greetz nAno
.nAno is offline  
Old 12/02/2009, 21:57   #2
 
^darkwing's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 148
Received Thanks: 31
PHP Code:
class Rechner
{
    public static 
void main(String args[])
    {
        try
        {
            
System.out.println(args[0]+args[1]+args[2]);
        }
        catch(
ArrayIndexOutOfBoundsException e)
        {
            
System.out.println("Drei Parameter angeben!");
            
System.exit(1);
        }

        
float wert1,wert2;
        
char oper;
        
/*wert1 = Integer.parseInt(args[0]);
        wert2 = Integer.parseInt(args[2]);*/
        
wert1 Float.valueOf(args[0]).floatValue();  //String zu Float
        
wert2 Float.valueOf(args[2]).floatValue();    
        
oper args[1].charAt(0);
        
//System.out.println(oper);
        
switch(oper)
        {
        case 
'+'System.out.println(wert1"+" +wert2" = " + (wert1+wert2));break;
        case 
'-'System.out.println(wert1"-" +wert2" = " + (wert1-wert2));break;
        case 
'X'System.out.println(wert1"*" +wert2" = " + (wert1*wert2));break;
        case 
':'System.out.println(wert1":" +wert2" = " + (wert1/wert2));break;
        }
    }

Ein kleiner Rechner, war mein Anfang in Java.
^darkwing is offline  
Thanks
1 User
Old 12/02/2009, 22:01   #3
 
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
Thx^^, schnellste Hilfe ever xD
.nAno is offline  
Old 12/02/2009, 22:03   #4

 
Adroxxx's Avatar
 
elite*gold: 15
Join Date: Nov 2005
Posts: 13,021
Received Thanks: 5,324
Java ist nicht Java script.

Und die teile die du mit java erstellst sind auch keine scripts sondern meistens Klassen oder Applikationen.




Hier mal einige leicht verständliche Klassen:


Adroxxx is offline  
Thanks
2 Users
Old 12/02/2009, 22:06   #5
 
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
Schon klar
Ich kenn den Unterschied und was man jetzt Programmiert, woher soll ich's wissen :P

Das Buch ist aufjedenfall was Wert
.nAno is offline  
Old 12/02/2009, 22:11   #6

 
Adroxxx's Avatar
 
elite*gold: 15
Join Date: Nov 2005
Posts: 13,021
Received Thanks: 5,324


Ist auch noch for free.
Adroxxx is offline  
Thanks
1 User
Old 12/02/2009, 22:34   #7
 
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
noch besser
Ich freu mich trotzallem über weitere Scripts
.nAno is offline  
Reply


Similar Threads Similar Threads
Aion java custom events, scripts, bugg fixes, etc.
12/29/2009 - Aion Trading - 0 Replies
Hello there, My name is Donatas and im a Java developer. Im offering you custom aion java scripts for a smart price. I can do anything you ask in a period of time for a fair amout of cash according to the scipt difficulty. If you are interested contact me by skype: djavolas or e-mail: [email protected] :pimp:
agBot Loop Scripts [ Let's Make alist with Mobs Scripts ]
07/09/2008 - SRO Hacks, Bots, Cheats & Exploits - 228 Replies
Hello Everyone, i saw that everyone is getting stuck to make agBot Loop Script. so i though we should make a topic a mobs scripts. and i will start. :) Now for me i prefer to use notepad to make my scripts. How to install : Just Copy the code and paste in <bot folder>\config\config1\script\default.lst If we got more scripts, i will just make a webpage, where you can select Town, HP and MP Bots you wanna buy then the monster you want to kill. then it auto generate the script for you....



All times are GMT +1. The time now is 23:42.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.