Search Results

Showing results 1 to 15 of 15
Search took 0.00 seconds.
Search: Posts Made By: jsosnowski ; Forum: Pascal and Delphi and child forums
Forum: Pascal and Delphi Apr 7th, 2009
Replies: 4
Views: 580
Posted By jsosnowski
Before worrying about putting it all together, work on the parts of the program. For instance, you have identified the record to store your data, but how are you loading user input into the record...
Forum: Pascal and Delphi Mar 18th, 2009
Replies: 6
Views: 883
Posted By jsosnowski
There are a number of conversion functions the sysutils.pas unit that can test this for you and check out extractstrings in the Classes unit for a basic parsing function.
Forum: Pascal and Delphi Mar 15th, 2009
Replies: 10
Views: 932
Posted By jsosnowski
Now that you have a program that works, consider this: One goal for writing code is to avoid duplication. Note that you have the same code repeating for each case (H or T). You might want to look...
Forum: Pascal and Delphi Mar 12th, 2009
Replies: 6
Views: 3,484
Posted By jsosnowski
FlamingClaw,

You could also use "absolute" to align the two variables in memory by declaring:

Var
S : string;
B : Array of Byte Absolute S;
This allows you to read and write to the...
Forum: Pascal and Delphi Mar 11th, 2009
Replies: 6
Views: 3,484
Posted By jsosnowski
IS "formvar" part of Delphi or your own method? I could not find a reference for it and am not familiar with it. Either way, what is the declaration for the function? Have you looked at...
Forum: Pascal and Delphi Mar 2nd, 2009
Replies: 10
Views: 932
Posted By jsosnowski
What is the purpose of the integers Head and tail? Are they needed? Look at how you are using them and follow the value of Flip1 using debug monitors.
Forum: Pascal and Delphi Feb 27th, 2009
Replies: 3
Views: 1,619
Posted By jsosnowski
Take a look at Sysutils.pas. There a number of date/time methods that manage date operations.
Forum: Pascal and Delphi Nov 20th, 2008
Replies: 2
Views: 574
Posted By jsosnowski
You might want to skip the while loop and try:
If listview2.findcaption (1,inttostr(randomnr)), false, true, true)=nil Then //no match found


ALso check the parameters to see if they are correct
Forum: Pascal and Delphi Sep 8th, 2008
Replies: 6
Views: 1,412
Posted By jsosnowski
TP = Turbo Pascal Software
Forum: Pascal and Delphi Aug 6th, 2008
Replies: 7
Views: 1,123
Posted By jsosnowski
I do not understand your last statement. The Caption is the label that appears on the button. The name is the code name used to refer to the button. They can be the same or differ as you choose.
Forum: Pascal and Delphi Aug 6th, 2008
Replies: 7
Views: 1,123
Posted By jsosnowski
Have you placed the code from pritaeas in your MyButtonClick method?
Forum: Pascal and Delphi Jun 5th, 2008
Replies: 6
Views: 1,539
Posted By jsosnowski
I am not familiar with Absolue Database. My first thought would be to try the same thing connecting to another database (BDE or ADO) and see if you still have the eror. How are you connecting...
Forum: Pascal and Delphi Apr 14th, 2008
Replies: 9
Views: 2,101
Posted By jsosnowski
My bad, I meant Goto, but used your label name instead.

Can you show a sample of your text file lines? Are they in order? You are right, your array must be loaded and in order before you begin...
Forum: Pascal and Delphi Apr 14th, 2008
Replies: 9
Views: 2,101
Posted By jsosnowski
1. Is your datafile arranged in and ordered sequewnce? The binary search begins generally as you have, finding the high , low and middle values. The student ID must be evaluated against the middle...
Forum: Pascal and Delphi Apr 9th, 2008
Replies: 2
Views: 1,357
Posted By jsosnowski
There is not enough code shown to answer. How are you determining that r begins at 28? Can you show us the code for STekoop[1,r]?
Showing results 1 to 15 of 15

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC