1,899 Topics

Member Avatar for
Member Avatar for Berniceazzopard

First of all happy new year and sorry to disturb u again but i'm really lost. Im trying to enter to validate a date. Can u pls check this code and tell me why in the procedure date the program is not letting me enter the month.:rolleyes: Unit appointments; interface …

Member Avatar for radu84
0
132
Member Avatar for Berniceazzopard

how can i validate if a month has 30 or 31 days and febraury havin 29 days if leap yr and 28 if not

Member Avatar for radu84
0
97
Member Avatar for eddie-jdp

Hi all, I am new to windows programming. I am currently using Delphi. Is there a way to tell how much total memory (including virtual memory) is currently available on a computer. As far as I am aware... Delphi programs start out automatically with an address space of 1 or …

Member Avatar for eddie-jdp
0
188
Member Avatar for angus1910

why my randomize commond doesn`t work in my pascal program? i used many loops in my program which i put the randomize after the first begin of the program. Is there some one can tell me how to place the randomize command in a complicated pascal program! :rolleyes: THX...........

Member Avatar for Lord Soth
0
327
Member Avatar for needs_help

Can dev-pascal use graphics, sound, and mouseclicks? If so, please tell me where to find how to do it.

Member Avatar for Lord Soth
0
97
Member Avatar for needs_help

Hello, I have been using Dev-Pascal 1.9.2 and I think that an extra unit that lets you access the mouse and use much better graphics. Please post code that can do this.

0
79
Member Avatar for secret

Hi Dani, i am a computer programming student learning the Pascal language. I wish to ask for your help in furnishing me with two pascal games which i can study and and improve on, or probably writing my own codes. I like the pseudocode for the games and the procedure …

Member Avatar for JJarvis
0
378
Member Avatar for jnadel

Hello, I am just starting with Pascal. It seems pretty easy overall. I feel so stupid asking this :lol: , but I forgot how to change the BackGround and Font/Text color. I know the color choices, just need to know what to type. :cheesy: Thank you so much to anyone …

Member Avatar for needs_help
0
166
Member Avatar for LawnGnomeNinja

I do not want the full program, as you all know because of the rules. What I do need though is a place to start because I have no idea what I need to do. I'll post the problem. For the purpose of this program, a widget is a fictitious …

Member Avatar for needs_help
0
123
Member Avatar for sportsnut941

program AreaofRectangleOrTriangle; uses WinCrt; var Base, Height, RectOrTrian, Area, CharUserInput: Char; Begin (*Enter R or T*); Writeln('Enter R for Rectangle or T for Triangle'); Readln(CharUserInput); (*Enter Base and Height*); Writeln('Enter Base '); Readln(Base); Writeln('Enter Height '); Readln(Height); (*Give case statement and formulas*); if (CharUserInput = 'R') or (CharUserInput = 'r') …

Member Avatar for needs_help
0
84
Member Avatar for Wavanova

Ok, i just started using pascal, since I went to a college open evening, and they told me in the first year of the course I wish to study, i would be learning pascal. This is not a homework assignment of any kind, this is just me messing around with …

Member Avatar for codewritinfool
0
143
Member Avatar for needs_help

If you want to learn how computers "think" then lisp or clisp is your best bet. For pascal, an example with footnotes: [code] program learn; {this program generates random problems} uses crt; {this is put here to unlock 3 new funtions} var a,b,c,d,e,f,right: integer; {this is the variable section} label …

0
70
Member Avatar for lifetalk

Hello, I am new here. Actually i wanted some help with a problem that's disturbing me. I am new to the programming world, and so, i don exactly know if this is the right thread. Am sorry if it is a wrong one. Anyways, back to my question, it's about …

Member Avatar for Lord Soth
0
152
Member Avatar for needs_help

Hi, I have a game which some people tell me is good, but I think needs more ideas. Please list some good ideas so that the game can become better. I don't need simplification. Here is the game: [code] program weee (input,output,save); uses crt; type a31415=array [1..10,1..10] of integer; var …

0
94
Member Avatar for sophie101

Hi everyone, I need some help in the following task: I am writing a Pascal program that will > 1). find the first 100 prime numbers and store them in an array. > 2). give a choice to the user, who will choose which number base the prime numbers will …

Member Avatar for sophie101
0
129
Member Avatar for plagiat

Hello evryone! In the text below is a program that I can't make.Please help me! Synthesize a program, wich calculates the number of bits in n(number wich is in binary code).The template of the program is: [code] {Q:(1<=n)} S(initially); {inv P:(1<=m)and(m*2^j-1<=n<m*2^j+1)} {bound t:m-1} do B -> S od {R:2^j-1<=n<2^j+1} [/code] …

0
68
Member Avatar for radu84

i tried to find some delphi tutorials or usefull links on the site, and i couldn't(the truth is that i'm a newbie and probably i don't know how to find what i want so easily) so i will make a post with some usefull links. i'm asking administrators to move …

Member Avatar for radu84
0
406
Member Avatar for sahidjamil

hi everyone. im really stuck with a project in pasal requring some string and files procedures. i have tried severy ways but i still can get through. the project can be found at [URL]http://www.cis.um.edu.mt/cmassign/proj2006.html[/URL] . i have attached 2 files one containg the code and the other containg a sample …

Member Avatar for sahidjamil
0
87
Member Avatar for s88

So I need to do a program, that goes throgh an html file and prints all the tags, but not closing tags. I tried the following code but when I run it several arrows appear. Can someone help please? [code = c] [COLOR=#000000]Program one;[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]Uses crt;[/COLOR] [COLOR=#000000] [/COLOR] …

0
91
Member Avatar for mscerri

hi everyone; i am doing a project for my sis in unversity, and it says that i have to find [B]the first 100 prime numbers and store them in an array.[/B] i managed to find the prime numbers but when i try to store it in an array a bunch …

Member Avatar for jwenting
0
136
Member Avatar for muhaa

Hi was wondering if any one knows what scripting language resource hacker uses as i would like to add a new menu to my team speek client so my clan members can open there americas army game from with in team speek also would like to know haw i could …

Member Avatar for muhaa
0
139
Member Avatar for gabriel_wadley

[code=c] #include<stdio.h> #include <conio.h> void main() { int line,c,n,x; void pasc(int); printf("\n\nInsert, how much line do you want: "); scanf("%d",&line); printf("\n\n\n"); printf("\nPascal's Triangle Is : (press enter)\n"); for(x=line-1;x>=0;x--) printf(" "); printf(" 1\n\n"); for(n=2;n<=line;n++) { for(c=line-n;c>=1;c--) printf(" "); pasc(n); printf("\n"); getche(); } } void pasc(int n) { int r; long fact(int); …

Member Avatar for Nick Evan
0
84
Member Avatar for Cheat King

Hi, I'm new to this forum and am only 11. I know I'm a little too young to do complicated programs in Delphi an Pascal, but I have joined a programming club at my school and already I feel I've done quite a bit of programs. But the programming club …

Member Avatar for jbennet
0
127
Member Avatar for dks1385

Hi How do I can Change the Column width and Caption of a DataGrid in my Program and also how do I can change the Height of a Row of a DataGrid

Member Avatar for sky_khan
0
148
Member Avatar for Spython

i need a program that will do this h(k)=h(k-1)+sqrt(h(k-1)) like this h1=ho+sqrt(ho) h2= h1+sqrt(h1) and so on i have to have a 50 results for h , ho is a const PLZ I NEED IT FOR TUMMOROW

Member Avatar for Spython
0
76
Member Avatar for _preston_

Hi i am studying delphi on a course i am doing and would just like to know if you can help. The problem is i am using the media player in delphi and i have got a video i made to play when the code is run, but i would …

0
54
Member Avatar for dks1385

What,s wrong with this code: procedure TWinForm1.Button2_Click(sender: System.Object; e: System.EventArgs); var varForm:TwinForm1; begin varForm.Close; end; Error: system.NullReferenceException

Member Avatar for ttheobald
0
188
Member Avatar for stephen23

Please could some one help me i am trying to create a new component inherated from previous and I am totaly lost. All objects opf the component will be on a panel. With a Label and two buttons. And a timer The component is a Ticker tape were the user …

0
73
Member Avatar for CloseUp

How to automatic update files from the web? Hi and thanks for helping me ;) some of my friend and me are trying to learn delpi and my project got kinda big, it's a game updater and launcher for a game we play. i allready got it to some of …

0
68
Member Avatar for WhiteAvenger

Hi guys, I am currently working on a program that opens a text file and replaces all [Space]s with [Tab]s. I already know how to read teh text file and write in the new variables, but I just can't figure out how to make a pascal program a) read a …

Member Avatar for WhiteAvenger
0
137
Member Avatar for killaruna
Member Avatar for MattEvans
0
115
Member Avatar for denzal2006

Hi I'm trying to use "IBM PC Keyboard Scan Codes" in Pascal which involve Decimal Pair and/or Hex Pair codes. (similar to ASCII). Could someone please tell me how to use these in VPascal. Preferably not Turbo Pascal, but any Pascal version would be appreciated! A 'code' example would be …

Member Avatar for yashar
0
269
Member Avatar for mynameisrich

Hi, i have an assignment that involves me making a hash table which stores strings. I am struggling to find a good example of a hash table anywhere and would be greatful if someone could give me an idea of the basic code or even pseudocode for it. ineed to …

Member Avatar for Daunti
0
1K
Member Avatar for Daunti

Windows XP, Version 2002 SP2, 1 gig memory, AMD Athlon XP 1800+1.53.GHz. I have been using TPX on this computer for a couple of years without any problems. Last week when trying to load TPX from windows the Error, "Disk or EMS I/O failure" message appears and TPX won't load. …

0
69
Member Avatar for StatManLV

I'm having a problem with an application that uses several dialog boxes. On my XP machine everything works great, but if I run the app on a Win98 machine the dialog boxes show up with no background and no caption, only the controls are visible. What could the problem be?

Member Avatar for StatManLV
0
72
Member Avatar for indianscorpion2

hi my name is srikanth.i have been trying to develop a source code to print the pascal's triangle for the past three days.i have'nt had any success.i would be greatly obliged if anyone could give me a simple source code to print the pascal's triangle in C.

Member Avatar for Nick Evan
0
563
Member Avatar for pointers

Hi, I am a basic learner, could u pls provide me the c code for the pascal triangle....... Thanks & Regads

Member Avatar for WolfPack
0
86
Member Avatar for tom3005

hey I am learning pascal and need to write a program where, when the user enters a sentence finishing with a full stop it prints the number of words in the sentance and the number of words with over 3 letters in. I have no idea how to count the …

Member Avatar for WhiteAvenger
-1
3K
Member Avatar for jgriff31

Hi Folks, In trying to build a class that consists of several controls placed on a panel, I've encountered two problems. With the exception of a RadioGroup, I've been able to succesfully create the object and surface properties from the various controls. However, the radio buttons for the RadioGroup are …

Member Avatar for Micheus
0
123
Member Avatar for EnderX

Is there any way to insert an animated .gif image into a Delphi form? The image component only seems to accept jpeg, bitmap, and icon files, plus a couple I've never seen before, but it's my understanding that none of those can be animated, and what I'd like to do …

Member Avatar for Micheus
0
330
Member Avatar for Special T

[COLOR=black][/COLOR] [COLOR=black][/COLOR] [COLOR=black]I downloaded Gamefront ([url]http://www.ideiadupla.com/gamefront/download.htm[/url]) and I use it to catalog my games and roms. When a new entry is entered into the database I can uses scripts to download information (Picture of game, year published/ developer, etc.) from webpages (IGN, Gamefront, Pockethaven, etc.) The language used in the …

0
62
Member Avatar for Reiko

Hi i have an assignment to write a Shopping List program in which there can be any number of products entered along with the price. Im not really doing to well with it an would apprecite any help. Heres my prgram so far [code] program ShoppingList (input,output); var numb:integer; prod:char; …

Member Avatar for Reiko
0
112
Member Avatar for jonblow

I need good free toolkit to working with .flv video format. Join files, splitting etc. Is anyone knows? Thanks for help!

Member Avatar for Lord Soth
0
117
Member Avatar for EnderX

I'm trying to figure out how to change the font in part of a large text field in delphi. (At the moment, I'm working with a RichEdit field.) I know it's possible to set the font style for the component, but that changes all the text, which isn't what I'm …

Member Avatar for Lord Soth
0
171
Member Avatar for bsnavarra

Hi Guys! My sister needs to write a program in pascal for video rentals and asked me to help her. I stopped using pascal 10 years ago and am extremely rusty in its syntax. Has anybody got some ready code to send me in order to refresh my memory? Thanks …

Member Avatar for Lord Soth
0
81
Member Avatar for donaldunca

I'm have questions: what can we do with 'static' and 'dynamic'? And how useful of it? how can I see useful of it? you can tell me the difference: a: array[1..1000] of ^integer; between a: array[1..1000] of integer; x: ^a; thank you!:)

Member Avatar for Lord Soth
0
96
Member Avatar for EnderX

When calling the date function, or referencing database information from a 'date' field, is it possible to specify what format the date will be returned as? Windows has at least seven formats that I know of, two of which (mm/dd/yy and yy/mm/dd) are impossible to tell apart with my current …

Member Avatar for Lord Soth
0
185
Member Avatar for darkeinjel04

here's anader program.. the output should be like this.. 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 ........ and here's d c0de..dunn0 if this is right.. #include<stdio.h> const int leftcorner=1; const int rightcorner-=1; const int topelement=1; int *pascal trianglr=0; int buildtriangle(int tmpPascalrow; { …

Member Avatar for Infarction
0
147
Member Avatar for mockba

Hello, I am a beginner in Pascal. I was wondering if anyone could tell me what is wrong with the following code: The error message says that [B]; expected but else found,[/B] when there is a semi colon before else. Program first (input, output); var discount, price, total:real; sale:char; begin …

Member Avatar for mockba
0
99
Member Avatar for Smithy888

Hi, I have the following code in a D2005 .Net winform. [code]ReportDoc := ReportDocument.Create; ReportDoc.Load(ReportPath); ReportDoc.PrintOptions.PrinterName := PrinterName; ReportDoc.PrintToPrinter(1,true,0,0);[/code] I get the message "Invalid printer specified" only if I try to print to a printer that is not the current default(CD) one. Having PrinterName as the CD one prints fine. …

0
49

The End.