September 29th, 2004, 07:22 AM
-
Help with array of strings for new guy.
I´ve just started programming in delphi 7, and i need some help.
I'm making a text-based calculator (eg. you write "three plus two" and the program answers " equals five.") and i need a function that can find a single character in an array of string. I'm currently using:
stringa[x,y] := stringb [y]
where stringa is the array and string b is an ordinary string.
Can someone tell me where i'm wrong / how to fix it?
Help is greatly appriciated!
September 29th, 2004, 11:32 PM
-
Look at the online help for Pos and AnsiPos functions.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo