well the title pretty much says it all.
I'm trying to grab an html hidden form input value for use in a delphi function. I don't know delphi very well at all, so I was trying to follow the format of the other code in the program that did this successfully, but I keep getting a compile error saying either my parameters are wrong - too many or too few - or I have incompatible types. I suspect my trying to follow the same format as the rest isn't working because I'm trying to grab an integer & my examples are grabbing strings.
my code:
numFiles := formvar(fileCount, ' '); //fileCount is the name of the hidden input element - this version gives an undeclared identifier error
code already in the program that works:
descr := formvar('DESC', ' '); //DESC is the name of the textarea