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 61-70 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
18CachéTextdateienTextdatei zeilenweise auslesen Set stream=##class(%FileCharacterStream).%New() Set stream.Filename="c:\myfile.txt" While 'stream.AtEnd { Set line=stream.ReadLine() ; Process the line here }View Update Delete
19CachéCaché-Spezifisch, NamespacesPrüfen ob ein Namespace existiert If $ZUtil(90,10,"SAMPLES") { ZNSpace "SAMPLES" }View Update Delete
24CachéCaché-Spezifisch, NetzwerkSuperserver-PortW !,$ZU(172,0) ; z.B. 1972View Update Delete
34CachéCaché-Spezifisch, Prozesse/JobsVariableninhalt eines fremden Prozesses ermitteln; Important: You musn't check variables in your own job, it will result in a <PARAMETER>-Error! Set checkjob=1234 Set checkvar="foo" ; Check if job is not my own Quit:checkjob=$Job ; Check if Job exists und prompt the content of the varible foo If $Data(^$Job(checkjob)) W !,$ZUtil(88,2,checkjob,checkvar) ; Prompts the content of the variable foo, maybe it is 'bar' ;-)View Update Delete
82CachéTextdateienTextdatei schreibenSet file=##class(%File).%New("file.txt") Write file.Size Do file.Open("WSN") Do file.WriteLine("This is a line of text")View Update Delete
26DelphiExceptionsTry Catch Excepttry // Code except // Handle the exception here... end; View Update Delete
27DelphiDatum, ZeitAktuelles Datum/Uhrzeitstr:=FormatDateTime('yyyymmdd hhnnss',now); // gibt aus 20100331 120723View Update Delete
28DelphiProzeduren, Funktionen, MethodenVerarbeitung gezielt beendenprocedure TForm1.Proz(Sender: TObject); begin If 1<>2 Then exit; ShowMessage('Test'); end;View Update Delete
44DelphiFilehandlingDatei auf dem Betriebssystem ausführenprocedure TForm1.MenuDummy1Click(Sender: TObject); var ExeName : array[0..255] of char; myFile : String; begin myFile:='winword.exe'; Showmessage('Starte: ' + myFile); StrPCopy(ExeName, myFile); ShellExecute(MainForm.Handle, 'open', ExeName, nil, nil, SW_SHOWNORMAL); // Drucken geht dann so (siehe auch Dateitypen im Windows Explorer): ShellExecute(MainForm.Handle, 'print', ExeName, nil, nil, SW_SHOWNORMAL); end;View Update Delete
55DelphiGUI, Komponenten allgemeinMit Return ein Ereignis im Textfeld auslösenprocedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char); begin if Key = #13 then begin Key := #0; ShowMessage('Auswerten ...'); end; end; View Update Delete