1,899 Topics

Member Avatar for
Member Avatar for AlexN

hey there, does anyone know a way that will allow the user to enter as many positive integers as they want, for each one i need a message to appear that states whether the number is odd or even? cheers guys

Member Avatar for Duoas
0
131
Member Avatar for lkkkeith

I am a newbie in pascal. I'm going to write a procedure that can convert the text inputted into the menu. ChooseOption(' Yes No '); Output: [COLOR="Red"]Yes[/COLOR] No When Down arrow key(#80) is pressed, then it go to the "No" option and change it's colour. Anyone can code this , …

Member Avatar for Duoas
0
111
Member Avatar for pocku

Hello. I'm utterly stuck on this one part of my school assignment (for pascal). We are asked to make a calculator like program which calculates integer values only. The program has to read character by character from an input file and if something like an 'a' or # is entered, …

Member Avatar for Duoas
0
121
Member Avatar for AlexN

Hey guys im new here... i need to make a program that estimates the costs of the following: Materials Ceiling: xx.x litres @ x.xx per litre 99.99 walls: xx.x litres @ x.xx per litre 999.99 xx rolls of paper @ xx.xx per roll 999.99 woodwork: xx.x litres @ x.xx per …

Member Avatar for Duoas
0
115
Member Avatar for Ries

I was thinking about using Delphi to create a multi-user chat program for me and few mates to use as well as intergrating a file share where we can share our files with each other. And also to be able to send updates to the users when I develop new …

Member Avatar for Duoas
0
83
Member Avatar for sura91

This is the Question:- 3)Implement oon pascal a program to produce the following output:- [code]* ** *** **** *****[/code] The number of rows to be printed on the screen should be specified buy the user nad you have to use for loops. i have done the bit where it just …

Member Avatar for Duoas
0
158
Member Avatar for squidd

I have it coded to where a small list can have dupes removed rather efficiently. But, the larger the list gets, the longer it takes to the point that it is better to not even try. A list of 15,000 lines would takes hours and hours... probably longer to remove …

Member Avatar for squidd
0
790
Member Avatar for mactas

Hi there I have been asked to design a program that asks the user to enter 12 months rainfall figures then carry out some simple calculations. i.e maximum rainfall,average,minimum etc etc Arrays, parameter passing and procedures have to be used. Firstly how do you make the program accept both real …

Member Avatar for Duoas
0
82
Member Avatar for joygqy

if i wanna read an input file with an equation in it, for example 2+3, and need to give the result of this input file, how should i write this code?:?:

Member Avatar for ExplainThat
0
92
Member Avatar for Artmann

Hello. I'm studying Pascal in school atm and have come over a bit of a problem with a program I've been asked to write. The task is too make a calendar. My calendar uses an array with records too store data about the different days. The program uses a procedure …

Member Avatar for Artmann
0
1K
Member Avatar for pukepuke

I need a program that generates a nxn matrix with random numbers, but they're not completely random. They must be delimited in -20,0 < x < 20,0, for example, but all i searched for the Random functions in pascal says that it produce numbers in a interval starting in zero...so, …

Member Avatar for Artmann
0
178
Member Avatar for sullecy

Hello! I'm just new here, and I have just completed a short pascal tutorial. So, in this n00by thread I wanna ask some simple stuff, and sorry about the incovience (you will face many questions lol) but understand that this is my only way to learn something I really love …

Member Avatar for Duoas
0
120
Member Avatar for siniacaptain

How can i preview an Ms access database image in a quick report using the QRImage component?

0
52
Member Avatar for kiprono

I am developing a small application that enable users to surf at a fee. Now, I want this user(s) to remain logged in as Administrator but when the application is running, I want the following keys to be disabled : Ctrl+Esc,Windows keys,Ctrl+Alt+Delete, Alt+Esc. I only want the Supervisor access these …

Member Avatar for Duoas
0
77
Member Avatar for adrive

hi i've been playing around with RTF for few days now and there are a few things that i need advice on : 1.) Does RTF allow hierarchical grouping? 2.) Is it even correct to have multiple header within one RTF? I noticed RTF reader (well microsoft word in my …

Member Avatar for adrive
0
72
Member Avatar for adrive

Hi, Is it possible to append a trichedit component's stream to another trichedit? LoadFromStream doesn't seem to work though, perhaps theres another way to append its Tmemorystream before passing into the LoadFromStream method?

Member Avatar for adrive
0
113
Member Avatar for hamkakf

hello My name is Hamka.And i wanna ask about my home work.In Delphi off course.I have try in 3 day`s but still cannot understand how to create / code it :( :( @ form1 //label// please input the number or string : _____________ //-> edit1 |process| //-> button output ____________ …

Member Avatar for Duoas
0
86
Member Avatar for ickle2

My Task is....(this is in pascal code by the way i am using a software called pascal7) Produce a program that: [B]*reads in, from a text file, the names and dates of birth of 5 people *stores these names and dates of birth using a sensible data structure *determines which …

Member Avatar for Duoas
0
130
Member Avatar for joygqy

in pascal, if i wanna classify something into different category and count how many items i have in each category, how would i do that?

Member Avatar for Duoas
0
85
Member Avatar for JJarvis

Well, hi, I wanted to make a program, which turns normal words into a Caesar shift. So... HELLO BECOMES; JGNNW That is with a shift of two. I did not want to include IF statements in this, as that is 'lazy programming' I have made a program which will convert …

Member Avatar for Duoas
0
928
Member Avatar for Brent720

I'm interested in web enabling my program. Here's an example of what I mean. Suppose I am translating some text and run into an unfamiliar word that I can't find in any of my dictionaries and would like to add a new definition. Of course I could manually access a …

Member Avatar for fairchild
0
89
Member Avatar for csy

[B]I try to use trayicon in delphi 5, but I can't hide the main form completely as which contain a MDI child form. Any solution for it? [/B] :(

Member Avatar for csy
0
704
Member Avatar for csy

I am using Delphi 5. I've add a trayicon in application and need to make the trayicon bright or change colour in different status. Anyone can help? Thanks and Thanks.:$

Member Avatar for csy
0
233
Member Avatar for zoe256

Hey guys, I was just wondering if anyone had used DPlot Jr & Delphi 7 (or any version really!) before? There is code for the module files in every possible language, except Delphi, and I really don't want to have to re-write it, I'm not sure I even could! I …

0
57
Member Avatar for Brent720

Hi. I'm a newbie at this forum. I've been using Delphi 3.0 for a long time, but have run into some problems I just don't know how to handle. I'm looking for some coding tips on how to do certain things in Delphi ObjectPascal. First of all, is Delphi 3.0 …

Member Avatar for Duoas
0
434
Member Avatar for adrive

guys, im trying to get bulleting to work. I've yet to see what's the output for this one, can someone help me out? It kept saying incompatible types between listtemplate, listlevel against variant types. But from all the examples i see on the net, the word document object is a …

Member Avatar for adrive
0
372
Member Avatar for Phanta

Hello, I'll get straight to the point. I'm making a program which lets you enter a row of characters, finds words in that row (words are characters separated by spaces) and output them in another row in alphabetical order. Firstly I wrote this: [CODE]Program ...; Uses crt,sysutils; const MAX = …

Member Avatar for Duoas
0
159
Member Avatar for Artis_Croatia

Hi to all I need help with this program, i have problem, i must write it out from left to right not from right to left, but i do not know how to do it, when i change something in program, than it is not working :( here is the …

Member Avatar for zandiago
0
91
Member Avatar for Sofo

I have written a small application that sends an Email. I would like it to terminate itself without any user action. I end the OnCreate procedure with Self.Close, but the application keeps running. What am i missing?

Member Avatar for Duoas
0
157
Member Avatar for Annex

I don't understand cause of error [code] program Project2; {$APPTYPE CONSOLE} uses SysUtils; function Rus(mes: string):string; var i: integer; // number of processed character begin for i:=1 to length(mes) do case mes[i] of 'A'-'n' mes[i]:= Chr(Ord(mes[i]) - 64); 'р'..'я'// after first mes occur the Error(27): Operator not applicable to this …

Member Avatar for Annex
0
68

The End.