Manage PlItems

You may optionally enter a comparison operator (<, <=, >, >=, <> or =) at the beginning of each of your search values to specify how the comparison should be done.

Advanced Search
Displaying 41-50 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
26DelphiExceptionsTry Catch Excepttry // Code except // Handle the exception here... end; View Update Delete
160PythonExceptionsTry Catch Excepttry: print 1/0 except Exception as e: print traceback.extract_stack() else: print "this is the else block" finally: print "finally clean up or something"View Update Delete
214T-SQLExceptionsTry Catch Except-- See also: http://msdn.microsoft.com/de-de/library/ms175976(v=sql.105).aspx -- !! -- TRY-CATCH cannot be used for all operations/situations in T-SQL. -- Be careful and refer to the link above for details -- !! BEGIN TRY SELECT 1/0; END TRY BEGIN CATCH SELECT ERROR_NUMBER() AS ErrorNumber ,ERROR_SEVERITY() AS ErrorSeverity ,ERROR_STATE() AS ErrorState ,ERROR_PROCEDURE() AS ErrorProcedure ,ERROR_LINE() AS ErrorLine ,ERROR_MESSAGE() AS ErrorMessage; END CATCH; View Update Delete
28DelphiProzeduren, Funktionen, MethodenVerarbeitung gezielt beendenprocedure TForm1.Proz(Sender: TObject); begin If 1<>2 Then exit; ShowMessage('Test'); end;View Update Delete
30JavaZahlen/RechnenNachkommastellenimport java.text.*; // mindestens 1 Vorkommastelle, genau 2 Nachkommastellen DecimalFormat f = new DecimalFormat("#0.00"); double d1 = 1234.4843; double d2 = 0.2; System.out.println(f.format(d1)); System.out.println(f.format(d2)); // Ausgabe d1=1234,4843 <--- man beachte das Komma! // Ausgabe d2=0,2View Update Delete
31PHPStringsString nach Delimenter zerlegen$myString = "A;B;C;D;E"; $myPieces = explode(";",$myString); // erzeigt ein Array mit den einzelnen Zeichen echo $myPieces[2]; // gibt C ausView Update Delete
32JavaStringsString nach Delimenter zerlegenString myString = new String; String[] myPieces = new String; myString = "A;B;C;D;E"; myPieces = myString.split(";"); // erzeugt ein Arrey mit den einzelnen Zeichen System.out.println(myPieces[2]); // gibt C ausView Update Delete
33MumpsStringsString nach Delimenter zerlegenmyString="A;B;C;D;E" Write !,$Piece(myString,";",3) // gibt C ausView Update Delete
124PL/pgSQLStringsString nach Delimenter zerlegenSELECT split_part('A;B;C;D;E',';',2) -- Result: BView Update Delete
144JavaScriptStringsString nach Delimenter zerlegenmyTestString = "abc;def;ghj/1"; splittedString = myTestString.split(";"); elementTwo = splittedString[1]; // => defView Update Delete