Programming and Computer Science

Welcome to the portal about Programming and Computer Science.
 

New Topics

Delphi: Access a procedure in a child window from anoother child window

I'm converting one of my applications to the MDI structure. However, I have my problems with that. Example: I create two child windows in addition to...

Open Question | 1 Answer

PHP: Add previous sub-array value to next sub-array value

In each sub-array's end element, I want to add the previous sub-array's end-element. $arr = [ [1,2,4], [4,2,6], [2,1,8] ]; How can I do that with...

Open Question | 1 Answer

undefined array key php

<?php $var = array(2,5); $cnt = count($var); for ($i = 0; $i < $cnt; $i++) { echo $var[$i]."\n"; echo...

Open Question | 1 Answer

Print current and next Value of Array - Undefined Array Key Error

I have the following PHP code: $var = array(2, 5); $cnt = count($var); for ($i = 0; $i < $cnt; $i++) { echo $var[$i]."\n"; echo...

Open Question | 1 Answer

Cordova: Close App

I would like to close my Cordova App via code (for example when a user clicks a button or the like). Is there a command for this that I can...

Question | 1 Answer

Delphi: Format Numeric Output with 2 Decimal Places

Hello community Please lend a hand :) I have this line : Memo10.Text := FloatToStr(round(Memo29.Value)) + '$'; This results is rounded : 25...

Open Question | 1 Answer

New Answers and Comments

Delphian: Have you included the unit of the window whose procedure you are calling in the uses section? Otherwise a call in Child2 should be possible with:...

Question | Delphi: Access a procedure in a child window from anoother child window

Guest: This solution is better for smaller programs or dialog windows! The above answer is more suitable for longer...

Question | Delphi/Lazarus: Enter-Key in Edit

Delphian: I have corrected it. Thank you very...

Question | Delphi/Lazarus: Extract Day, Month and Year from DateTime-Format

Guest: AYear, AMonth, ADay: word; (DecodeDate takes word...

Question | Delphi/Lazarus: Extract Day, Month and Year from DateTime-Format

NetLabel: You mean something like that? $arr = [ [1,2,4], [4,2,6], [2,1,8] ]; for ($i = 1; $i < count($arr); $i++) { $arr[$i-1][2] +=...

Question | PHP: Add previous sub-array value to next sub-array value

AskingBox Moderation: Why are you posting this another time when your original question is already answered?! ...

Question | undefined array key php